1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/vendor/jison/examples/dism_lr0.json

27 lines
748 B
JSON
Raw Normal View History

{
"author": "Jay Ligatti",
"tokens": "ADD SUB MUL MOV LOD STR JMP BEQ BLT RDN PTN HLT INT LABEL COLON",
"bnf": {
"instlist" :[ "instlist label COLON inst",
"instlist inst",
"inst" ],
"inst" :[ "ADD intt intt intt",
"SUB intt intt intt",
"MUL intt intt intt",
"MOV intt intt",
"LOD intt intt intt",
"STR intt intt intt",
"JMP intt intt intt",
"BEQ intt intt intt",
"BLT intt intt intt",
"RDN intt",
"PTN intt",
"HLT intt"],
"label" :[ "LABEL" ],
"intt" :[ "INT", "label" ]
}
}