-
The lexer code in `setInput` switches the `.rules` to 1-indexed:
``` javascript
for (var k in conditions) {
var spec = conditions[k];
var rule_ids = spec.rules;
var len = rule_ids.length;
…
-
`Parsec` is more than acceptable for this stage of the project; it's intuitive, and only rarely do we rely on tricky things like the `try` combinator.
As you think about what you want to be able t…
-
Add `printable` to represent all printable unicode chars
-
I was wondering if there is any way to get all the variables in a script without running it.
Reason being i am attempting a intellisense - ish feature for my editor and would make life so much easi…
-
I'm creating a grammar editor/tester online here https://mingodad.github.io/parsertl-playground/playground/ (repository here https://github.com/mingodad/parsertl-playground ) and just added Austral gr…
-
I have the grammar in the attached file and input the following text for parsing:
define mc with orientation=horizontal as
stem text is "this is a test"
option text = "option 1" and is correct
op…
-
There was a request that we rewrite the grammer into something more cross-platform so that it can be shared among the various implementations of JSONSM.
-
If your lexer has multiple states available to it, then these can be changed from within the parser rules by `yy.lexer.begin('state');`. However, the generated parser pulls the next token _before runn…
-
Hi,
Let's say I use https://github.com/crytic/amarna/blob/main/amarna/grammars/cairo.lark and https://github.com/lark-parser/Lark.js to get the AST tree of a cairo file. What do I use after to genera…
-
It would avoid errors like:
```
➜ example git:(bmw_content) ✗ yarn relay
yarn run v1.13.0
$ relay-compiler --src ./src --schema data/schema.graphql --language typescript --artifactDirectory .…