1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
;
; 4012 grammar at the character level
;
(
(alpha ("PRINT" printable alpha)
(|\033| |\014| "CLEAR" alpha)
(|\r| "CR" alpha)
(|\n| "LF" alpha)
(|\t| "HT" alpha)
(|\b| "BS" alpha)
(|\013| "VT" alpha)
(graph alpha)
)
(graph (|\035| line graph)
(|\035| line exit-graph)
)
(exit-graph (|\037|)
(|\033| |\014| "CLEAR")
(|\r| "CR")
)
(line (move draws)
()
)
(move (coord "MOVE")
)
(draws (draw draws)
()
)
(draw (coord "DRAW")
)
(coord (HIADDR LOY HIADDR LOX "fourAddr")
(LOY HIADDR LOX "threeAddr")
(HIADDR LOX "twoAddr")
(LOY LOX "loLoAddr")
(LOX "oneAddr")
)
(HIADDR (|\40|) (|\41|) (|\42|) (|\43|)
(|\44|) (|\45|) (|\46|) (|\47|)
(|\50|) (|\51|) (|\52|) (|\53|)
(|\54|) (|\55|) (|\56|) (|\57|)
(|\60|) (|\61|) (|\62|) (|\63|)
(|\64|) (|\65|) (|\66|) (|\67|)
(|\70|) (|\71|) (|\72|) (|\73|)
(|\74|) (|\75|) (|\76|) (|\77|)
)
(LOY (|\140|) (|\141|) (|\142|) (|\143|)
(|\144|) (|\145|) (|\146|) (|\147|)
(|\150|) (|\151|) (|\152|) (|\153|)
(|\154|) (|\155|) (|\156|) (|\157|)
(|\160|) (|\161|) (|\162|) (|\163|)
(|\164|) (|\165|) (|\166|) (|\167|)
(|\170|) (|\171|) (|\172|) (|\173|)
(|\174|) (|\175|) (|\176|) (|\177|)
)
(LOX (|\100|) (|\101|) (|\102|) (|\103|)
(|\104|) (|\105|) (|\106|) (|\107|)
(|\110|) (|\111|) (|\112|) (|\113|)
(|\114|) (|\115|) (|\116|) (|\117|)
(|\120|) (|\121|) (|\122|) (|\123|)
(|\124|) (|\125|) (|\126|) (|\127|)
(|\130|) (|\131|) (|\132|) (|\133|)
(|\134|) (|\135|) (|\136|) (|\137|)
)
(printable
(| |) (|!|) (|"|) (|#|) (|$|) (|%|) (|&|) (|'|)
(|(|) (|)|) (|*|) (|+|) (|,|) (|-|) (|.|) (|/|)
(|0|) (|1|) (|2|) (|3|) (|4|) (|5|) (|6|) (|7|)
(|8|) (|9|) (|:|) (|;|) (|<|) (|=|) (|>|) (|?|)
(|@|) (|A|) (|B|) (|C|) (|D|) (|E|) (|F|) (|G|)
(|H|) (|I|) (|J|) (|K|) (|L|) (|M|) (|N|) (|O|)
(|P|) (|Q|) (|R|) (|S|) (|T|) (|U|) (|V|) (|W|)
(|X|) (|Y|) (|Z|) (|[|) (|\\|) (|]|) (|^|) (|_|)
(|`|) (|a|) (|b|) (|c|) (|d|) (|e|) (|f|) (|g|)
(|h|) (|i|) (|j|) (|k|) (|l|) (|m|) (|n|) (|o|)
(|p|) (|q|) (|r|) (|s|) (|t|) (|u|) (|v|) (|w|)
(|x|) (|y|) (|z|) (|{|) (|\||) (|}|) (|~|) (|\177|)
)
)
|