Closed hellerve closed 7 years ago
This PR adds a better parser to zepto, namely, better error reporting and trailing whitespace in datastructures. A few examples:
["a", "list", "of", "strings" ] #{:a "hashmap" :with "linebreaks" } (map add1 [1 2 3] ) ; Parse error at line 1, column 9: ; (map add1 [1 2 3] ) ; ^ ;unexpected ")" ;expecting ";", "r/", "-", digit, "+", "#d", "#x", "#o", "#b", "#(", "{", "b(","b{", "#u8(", ",@", "\"", "'", "#", ;"`", ",", "#\\", "#{", "(", "[", letter, "nil" or "."
I hopes this makes formatting a bit easier.
Cheers
This PR adds a better parser to zepto, namely, better error reporting and trailing whitespace in datastructures. A few examples:
I hopes this makes formatting a bit easier.
Cheers