+4
-1
@@ -13,7 +13,7 @@ notation, Booleans `true` and `false`, lists enclosed by square brackets
|
||||
|
||||
term ::= integer | bool | '[' joy ']' | symbol
|
||||
|
||||
integer ::= [ '-' ] ('0'...'9')+
|
||||
integer ::= 0 | [ '-' ] ('1'...'9') ('0'...'9')*
|
||||
|
||||
bool ::= 'true' | 'false'
|
||||
|
||||
@@ -29,6 +29,9 @@ respective Boolean values.
|
||||
That's it. That's the whole of the grammar.
|
||||
|
||||
|
||||

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