
List of Tables
2.1 Some of the OP-codes of VM1—29
2.2 Mapping from intermediate code to VM1 code—43
3.1 Parsing: scanner and parser—50
3.2 Token value component for different atoms—52
3.3 Pattern-matching primitives—64
3.4 Lex: pattern matching examples—65
3.5 Lex pre-defi ned variables and functions—66
4.1 Parsing: scanner and parser—75
4.2 Left and right derivations, right reduction—78
4.3 Simple LL(1) parser: input string b+b*a#—83
4.4 Simple LL(1) parser: input string adbbeccbce#—84
4.5 Parsing of example sentence i[e]=e#—88
4.6 Precedence relations for the example grammar—91
4.7 LR(0) parser actions for the string ...