The grammar for this Pascal Parser is based on the grammar on pp. 110-115 of /The Pascal User Manual and Report/ by Jensen and Wirth. Text Files: keywords.txt A list of the keywords in Pascal. (Treated as tokens.) symbols.txt A list of the important symbols in Pascal. (Treated as tokens.) identifiers.txt A list of common identifiers. (Treated as identifier tokens.) grammar.txt The modified Pascal grammar. Nonterminals are presented in alphabetical order. Some rules that were "factored out" of the original grammar appear at the end. Java Files: PascalTokens.java Constant definitions of the Pascal tokens. PascalNonterminals.java Constant definitions of the Pascal nonterminals. PascalTokenizer.java A simple tokenizer for Pascal. PascalParser.java A simple parser for Pascal. Test Programs: TestPT.java A test of the Pascal tokenizer. Run with java pascal.TestPT TestPP.java A test of the Pascal parser. Run with java pascal.TestPP Pascal Programs: silly.pas My primary test program