|Project suggestion svp. email@example.com (1998-08-05)|
|Re: Project suggestion svp. firstname.lastname@example.org (1998-08-10)|
|Re: Project suggestion svp. email@example.com (1998-08-10)|
|Re: Project suggestion svp. firstname.lastname@example.org (Sergio Ruocco) (1998-08-10)|
|Re: Project suggestion svp. email@example.com (1998-08-10)|
|From:||firstname.lastname@example.org (Phil Hunt)|
|Date:||10 Aug 1998 10:14:33 -0400|
email@example.com "Etienne Marais" writes:
> Does anybody have any suggestions as to which (source) language I
> should choose for a compiler project. I'm considering to use java (and
> javacc) for the development of the compiler itself, and the java
> virtual machine as target. The source language can be anything not to
> difficult but interesting and useful enough to distribute the final
> compiler as freeware.
Java and JavaCC sound like a reasonable choice to me. If you go this
route, you might consider making your compiler able to output Java
source code as well as JVM bytecodes; the advantages would be:
(1) Java source code is easier to understand, (2) you could run
the Java source code through javadoc to produce appropriate
Another possiblity would be C++/yacc/lex. A compiler written in
C++ is likely to run faster than one written in Java, but Java is
probably slightly easier to code in, and is more portable.
Return to the
Search the comp.compilers archives again.