parent
68488cc9d2
commit
463ed04e05
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
|
|
@ -13,7 +13,7 @@ notation, Booleans `true` and `false`, lists enclosed by square brackets
|
||||||
|
|
||||||
term ::= integer | bool | '[' joy ']' | symbol
|
term ::= integer | bool | '[' joy ']' | symbol
|
||||||
|
|
||||||
integer ::= [ '-' ] ('0'...'9')+
|
integer ::= 0 | [ '-' ] ('1'...'9') ('0'...'9')*
|
||||||
|
|
||||||
bool ::= 'true' | 'false'
|
bool ::= 'true' | 'false'
|
||||||
|
|
||||||
|
|
@ -29,6 +29,9 @@ respective Boolean values.
|
||||||
That's it. That's the whole of the grammar.
|
That's it. That's the whole of the grammar.
|
||||||
|
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
## Types
|
## Types
|
||||||
|
|
||||||
The original Joy has several datatypes (such as strings and sets)
|
The original Joy has several datatypes (such as strings and sets)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue