-
Possible to use precedence in pattern matching step?
I have 3 terms on for digits ("[0-9]+"), "u" and one for identifiers "[a-zA-Z_][a-zA-Z_0-9]+"
I "u" to identify an unsigned integer and I can…
cgbsu updated
4 months ago
-
- Thread lexing and parsing errors with new Alex monad
- file name included in results
- errors in a function call in the repl
- stacktrace
-
Create unified tool based on FsLex for classical lexers and lexers for regular set tokenization generation.
- [x] FsLex and Abstract lexing generator and runtime unification.
- Abstract lexing sourc…
-
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…
-
The custom lexer page of the Lalrpop tutorial mentions:
> Tokens that require tracking internal lexer state
But does not give any say if Lalrpop supports stateful lexers.
I'm coming from Has…
-
it has been implemented: https://github.com/qntm/greenery
解决了我三年半前做parser框架的lexer检查问题。
中文生态在这种细节上还是很差劲,有种wikipedia中文的意思。
-
Probably use [Ohm](https://ohmjs.org/); see links in docs/resources.md.
-
[edit: renamed to change the scope/intent of this bug per this comment: https://github.com/getify/literalizer/issues/20#issuecomment-23993775]
fs.readFile (and fs.readFileSync) provides a Buffer obje…
-
MEE15_44.atf
```
Parsing file /Users/jhn/ucl/oracc/oracc_corpus/dcclt/ebla/00atf/MEE15_44.atf ... Failed with message: 'PyOracc got an illegal character ' ''
```
Contains a `#bib:` field however the…
-
I'm having a hard time understanding the behavior of the lexer in the following case:
```
/\(/ { fmt.Printf("-> %q\n", yylex.Text()) }
/\)/ { fmt.Printf("-> %q\n", yylex.Text()) }
/[^( ][^ ]*[^ )…