-
Based on the `debug.c:dump_productions` function I created a `debug.c:dump_ebnf` function to output an EBNF grammar understood on https://www.bottlecaps.de/rr/ui to generate railroad diagrams (https:…
-
I ran the tests with `MAKE=make ./parser_tests` and got this:
```
17c17
< :161: syntax error after 'RightButton) ) {
---
> :161: syntax error after 'LeftButton || button == Key.RightButton) ) {
…
-
Have you thought of using a grammar to describe the syntax? Would make coping with its evolution a lot cleaner.
I'm guessing you'd like to constrain it to be a regular language so that the syntax …
-
when try to parse D source code, I noticed that the parser stops on first newline character. Of course I can replace those by " ", but this hack doesn't work well with newlines inside strings (as it c…
-
Hi All,
Fedora 33, x64
rakudo-pkg-2020.12-01.x86_64
Something I would really, really like fixed: the excessive compile time not found it Perl 5.
$ ls -al GetUpdates.pl6
-rwxr-xr-x. 1 todd u…
-
*An idea from the email discussions.*
As we are inside of JML, maybe we can find a more beautiful for specifying conditional specification. From C/C++ we learned that pre-compiler can make the life…
-
In my app I need to tokenize some text, apply some transformations on it, and then generate an AST. The types of transformations are known only at run time.
In a previous iteration of this app I h…
-
It would be helpful to support state during parsing to enable such things as the [off-side rule](https://en.wikipedia.org/wiki/Off-side_rule). This seems to be already called out as a planned extensio…
rtoal updated
2 years ago
-
Logos currently features the [`morph`](https://docs.rs/logos/0.11.0-rc2/logos/struct.Lexer.html#method.morph) method, courtesy of @CAD97 (#65), which allows you to switch the `Lexer` from producing on…
-
Should the group produce a separate lexical specification?
I think it would be useful, but I have no idea what it would look like.
There are some complexities like token splitting (`
ehuss updated
4 years ago