Closed incrediblesound closed 8 years ago
I'm "about to" drop a pull request that does just that.
A couple of related ambiguities / questions / thoughts:
(let true (do (print "true!") 1)
. Or, more generally, do you want builtins to act as reserved words, or just as though they are predefined functions / keywords?.123
(i.e. starting with a decimal point) to be accepted? (Personally, no. Too easy to be confused with commas in arrays)[1, 2]
versus [1 2]
) (Personally, don't know)(1, 2)
versus (1 2)`) (Personally, don't know)1_000_000
) (Personally, yes.)I'd love to know your thoughts on my questions, though.
Currently the minus sign is ambiguous to the tokenizer because it is present in both the functions constants and the numbers constants (not sure what to call "numbers" and "letters" but I agree those names are poor). The tokenizer should be improved to better distinguish between functions and values.