Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiler Recommendations



 What source language are you looking for? I guess there can be compilers 
written on different languages. 
What target langage are you looking for (the language compiler will 
process), is that something known or your own DSL ( 
http://en.wikipedia.org/wiki/Domain-specific_programming_language)? 

Depending on the level of details, you may want to look not directly on 
compilers but on theory -- stages of compiling process, grammars, parsers, 
Abstract Syntax Tree etc. There are libraries which help to implement all of 
these so you do not have to write everything from the scratch. Check out 
http://www.antlr.org/, http://spirit.sourceforge.net/ or, for example 
http://www.scifac.ru.ac.za/compilers/cha15s.htm. 
(I never wrote a compiler though =)) 

Thanks, 
Alexander 

On 12/28/07, Anthony Gabrielson <[hidden email]> wrote: 
> 
> Hello all, 
> 
>                 I'm interested in taking a look at compiler source and how 
> it works, can anyone recommend a nice easy open source one to start 
> with?  I 
> know I can get the source to GCC, but I'm hoping to start with something a 
> bit more straight forward and less complicated. 
> 
> 
> 
> Thanks, 
> 
> Anthony 
> 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org