Actually, it’s half and half. For now, I have a working lexer with correct error-reporting and position-tracking, so I’ll work on other parts (parser, building an AST using Should I use objects in this case?, and interface using Parsing one's own command line). Then I might come back and use ocamllex.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| High-performance lexing in OCaml | 20 | 3243 | April 1, 2021 | |
| [ANN] ppx_seq v0.1.1 | 17 | 2183 | February 16, 2022 | |
| Re2ocaml regexp compiler | 12 | 741 | February 18, 2025 | |
| Seq vs List, optimization | 26 | 5066 | December 9, 2020 | |
| Examples using compiler-libs Lexer | 3 | 147 | September 1, 2025 |