: : 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:
: 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