Minor docs update.

This commit is contained in:
Simon Forman
2019-12-02 14:13:50 -08:00
parent eb591d27e0
commit 57446a1179
2 changed files with 15 additions and 9 deletions
+7 -4
View File
@@ -26,11 +26,14 @@ by the fact that they are not Symbol objects.
A crude grammar::
joy = term*
term = int | float | string | '[' joy ']' | function
A Joy expression is a sequence of zero or more terms
joy = term*
term = int | float | string | '[' joy ']' | symbol
A Joy expression is a sequence of zero or more terms. A term is a
literal value (integer, float, string, or Joy expression) or a function
symbol. Function symbols are unquoted strings and cannot contain square
brackets. Terms must be separated by blanks, which can be omitted
around square brackets.
'''
#TODO: explain the details of float lits and strings.