: : I don't think any commercially available compilers are written in Java. Since Java is quite new and most compiler paradigms quite old... Since Java is platform-independent and compilers are (very) platform-dependent...
: : But I once thought of using Java as a language for a compiler since it takes care of the most boring parts (I/O, the whole tokenizer part, Hash tables, etc.
: :
: Looking into JavaCC might help. Check out these links:
:
:
http://www.webgain.com/products/java_cc/
:
:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-cooltools.html
:
: I used this a couple times to generate compilers. The source code is so-so but it seems to work pretty well.
:
As well, just so everybody knows, "ADA" (Ada) as it pertains to the Ada programming language, is not an acronym
Good luck