A Pascal compiler written in Java for the subset grammar in Aho, et. al's red dragon book - Aho, Alfred et al. Compilers – Principles, Techniques, and Tools. Addison-Wesley, 1986. p. 746.
Running LexicalAnalyzer will produce the intermediate code. The second half of compilation is incomplete.