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

Re: Ready for a larger project?

Hi Jim,

well I have written a reasonably big compiler using SableCC: about 6000 lines of
code (excluding SableCC-generated code of course :)...), for a language that is
very close to Java (JOOS). I was supposed to release it under an open-source
license for Etienne to include it in his example set, but unfortunately other
obligations have prevented me from doing that just yet (or anything else for
that matter..).
If this qualifies as a "large project" by your standards, it might give me just
the right amount of motivation to actually do the required licensing. In any
case, the source code is available under an educational (free) license at the
following URL:
[shameless-plug] http://www.sable.mcgill.ca/~hendren/520/a-source_java.html

Let me know if it's large enough for you! :)

Othman Alaoui

jim.moores@quickstone.com wrote:

> Does anyone have any opinions on the use of SableCC for a larger compiler
> project?  I am probably going to be closely involved in the construction of
> a new (open source,  commercially supported) language compiler (a strict
> imperitive parallel language similar to occam).  I really like to approach
> taken by SableCC, it looks much easier to maintain the code than other
> compiler compilers.  Do large compiler projects use compiler compilers?  The
> general trend seems to be for `commercial grade' compilers to use hand coded
> parsers and lexers, but I'd like to make development as quick as possible.
> All the examples appear to be very much toy languages (no offence, I realise
> its a fairly new tool) and I've had some problems getting them from the
> SourceForge CVS (the directories for most appear empty, although I did find
> an older .tar.gz on the old site).
> Another thing I was wondering - how easy to you think it would be for the
> lexer to support indentation to delimit blocks (a la occam and Python)?  I
> think it should be possible from my read of the thesis, but anyone have any
> experience of this?
> Your thoughts would be appreciated.  Oh and keep up the good work Etienne.
> Jim Moores
> --
> Jim Moores, Quickstone Systems, UK.