PASCAL subset compiler. The grammar is included. a sample txt source file are also included.
The grammar is based on LR(1). instead using yacc's compressed parsing table, to make things easier and clearer, directly stored the parser table in a 2D array.