You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would make possible to access Lexer using read from inside syntax extension, and allow to create completely new syntax, the same as Common Lisp reader macros. There would be requirement of new type of specials that don't accept any object that will modify the lexer when it's running.
The text was updated successfully, but these errors were encountered:
There was failed attempt to implement reader macros in #13 but here after Lexer is added that is in fact like character stream this is possible to implement.
It should be possible to implement object literal syntax like this:
#{ "foo": "bar" }
The extension should use stdin to read the text and process it. It should be a recursive process. The reader should use Lexer to process the text inside to allow nested objects:
#{ "foo": #(1 2 3) }
It should red string symbol : and a value. until it finds }.
This would make possible to access Lexer using read from inside syntax extension, and allow to create completely new syntax, the same as Common Lisp reader macros. There would be requirement of new type of specials that don't accept any object that will modify the lexer when it's running.
The text was updated successfully, but these errors were encountered: