| changeset 471 | e5df48ff7033 | 
| parent 93 | 4794759139ea | 
| 469:226f294987f2 | 471:e5df48ff7033 | 
|---|---|
1 // A parser and evaluator for the WHILE language  | 
1 // A parser and evaluator for the WHILE language  | 
2 //  | 
2 //  | 
3 import matcher._  | 
3  | 
4 import parser._  | 
4  | 
5  | 
|
5  | 
6  | 
6  | 
7  | 
7 // some regular expressions  | 
8 // some regular expressions  | 
8 val SYM = RANGE("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz_")  | 
9 val SYM = RANGE("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvwxyz_")  | 
9 val DIGIT = RANGE("0123456789")  | 
10 val DIGIT = RANGE("0123456789")  |