Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
"Dictionary", | ||
|
||
"Program", | ||
"NonEmptyProgram", | ||
"Body", | ||
"Command", | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,8 +91,8 @@ | |
[CT.Name, CT.S], | ||
[CT.List, CT.S], | ||
["[", CT.Multidirectional, "]", CT.S], | ||
[CT.Dictionary, CT.S], | ||
["{", CT.Program, "}", CT.S], | ||
[CT.Dictionary, CT.S], | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
somebody1234
Author
Collaborator
|
||
[CT.OtherOperator, CT.S], | ||
[ | ||
CT.LazyQuarternary, CT.LP, CT.Expression, CT.Expression, | ||
|
@@ -205,6 +205,7 @@ | |
["evalvar", CT.LP, CT.Expression, CT.RP] | ||
], | ||
CT.Program: [[CT.Command, CT.Program], []], | ||
CT.NonEmptyProgram: [[CT.Command, CT.Program], [CT.Command]], | ||
CT.Body: [["{", CT.Program, "}"], [CT.Command]], | ||
CT.Command: [ | ||
["InputString", CT.LP, CT.Name, CT.RP, CT.S], | ||
|
Unfortunately this change broke empty dictionaries. Would it make sense to require the program to be non-empty?