Mercurial > ~dholland > hg > ag > index.cgi
comparison tests/agcl/parsifal/t201a.syn @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 letter = 'a-z' + 'A-Z' | |
2 digit = '0-9' | |
3 eof = 0 | |
4 | |
5 universe = ~eof | |
6 | |
7 nonprintable = 1..8 | |
8 | |
9 printable = (universe - nonprintable) - (letter - 'p-q') | |
10 | |
11 name | |
12 -> letter =1; | |
13 -> name, letter + digit =2; | |
14 | |
15 | |
16 hex digit, text | |
17 -> digit | |
18 -> 'a-f' | |
19 -> 'A-F' | |
20 | |
21 hex number | |
22 -> "0x", hex digit =1; | |
23 -> hex number , hex digit =4; | |
24 | |
25 number | |
26 -> digit | |
27 -> number, digit | |
28 | |
29 token | |
30 -> name | |
31 -> number | |
32 -> hex number | |
33 -> '/', printable | |
34 -> '|', nonprintable | |
35 -> '!', universe | |
36 | |
37 grammar | |
38 -> token, eof |