-
The current implementation of parsing tokens as expressions is barely scalable. Switching to implementing a proper AST parser will enable much more complicated expressions in the long-term (such as im…
-
The first step for writing a robust parser, a proper lexer is in order. A single-token lookahead lexer should be plenty. Further expression compilation can be done based on that. For information on th…
-
I am wondering if it is possible, instead of parsing source text into an AST, to output a vector of bytes in postfix order. For example, assuming constants are prefixed by `17` (for no particular reas…
-
Hello,
In your readme you have planned a todo list one of which is implementing control flow statements
> Add control flow elements (if, while, for, ...)
Can you provide some hints about how to…
-
I'm trying to write an iterative rule in grammar but I don't know how to assign when two non-terminals are side by side.
I tried the code down below but am not pretty sure if it is correct:
```…
-
- [x] Change Month and Week Number
- [x] focWeekExport "2023-01-19" "2023-01-26"
- [x] Update Search Index
- [x] Download New Attachments
- [x] Update links
- [x] Check that comment links work (p…
-
微博内容精选
-
This issue describes how to implement the `functions` **concept exercise** for the Python track.
There is an outdated issue for this exercise with some discussion. It can be found [here](https://g…
-
_And with that, we now have a complete scanner for the entire Lox lexical grammar. Fire up the REPL and type in some valid and invalid code. Does it produce the tokens you expect?_ - End of Chapter 4.…
-
I am very interested in trying out langium and have done the basic tutorial in the web site. However, I am not able to make much progress due to the lack of actual language examples to refer to.…