mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
16 lines
262 B
JSON
16 lines
262 B
JSON
![]() |
{
|
||
|
"lex": {
|
||
|
"rules": [
|
||
|
["\\s+", "/* skip whitespace */"],
|
||
|
["[0-9]+", "return 'NAT';"],
|
||
|
["\\+", "return '+';"]
|
||
|
]
|
||
|
},
|
||
|
|
||
|
"bnf": {
|
||
|
"E" :[ "E + T",
|
||
|
"T" ],
|
||
|
"T" :[ "NAT" ]
|
||
|
}
|
||
|
}
|