Implement Kiss-VSCode in Kiss

This commit is contained in:
2021-01-17 14:02:35 -07:00
parent 4fa26c0b9b
commit 6cde635741

View File

@@ -86,6 +86,8 @@ class Reader {
readTable[","] = (stream, k) -> Unquote(assertRead(stream, k));
readTable[",@"] = (stream, k) -> UnquoteList(assertRead(stream, k));
// TODO make {...} a macro for (begin ...)
// Because macro keys are sorted by length and peekChars(0) returns "", this will be used as the default reader macro:
readTable[""] = (stream, k) -> Symbol(nextToken(stream, "a symbol name"));