-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to connect stdin with Lexer/Parser #150
Comments
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. |
Here is reference for CL Reader Macros |
It should be possible to implement object literal syntax like this:
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:
It should red string symbol |
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: