Rebuild apparently.

pull/70/head
Rob Rix 2016-02-18 15:09:56 +07:00
parent 114082114c
commit e6e76e68c2
2 changed files with 841 additions and 294 deletions

21
src/grammar.json vendored

@ -2,6 +2,10 @@
"name": "ruby",
"rules": {
"program": {
"type": "SYMBOL",
"name": "_compound_statement"
},
"_compound_statement": {
"type": "REPEAT",
"content": {
"type": "SEQ",
@ -55,6 +59,23 @@
"_primary": {
"type": "CHOICE",
"members": [
{
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "("
},
{
"type": "SYMBOL",
"name": "_compound_statement"
},
{
"type": "STRING",
"value": ")"
}
]
},
{
"type": "SYMBOL",
"name": "_variable"

1114
src/parser.c vendored

File diff suppressed because it is too large Load Diff