Implement Kiss-VSCode in Kiss
This commit is contained in:
@@ -86,6 +86,8 @@ class Reader {
|
|||||||
readTable[","] = (stream, k) -> Unquote(assertRead(stream, k));
|
readTable[","] = (stream, k) -> Unquote(assertRead(stream, k));
|
||||||
readTable[",@"] = (stream, k) -> UnquoteList(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:
|
// 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"));
|
readTable[""] = (stream, k) -> Symbol(nextToken(stream, "a symbol name"));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user