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/basic_lex.json

15 lines
262 B
JSON

{
"lex": {
"rules": [
["\\s+", "/* skip whitespace */"],
["[0-9]+", "return 'NAT';"],
["\\+", "return '+';"]
]
},
"bnf": {
"E" :[ "E + T",
"T" ],
"T" :[ "NAT" ]
}
}