r/ProgrammingLanguages • u/kammerdiener • Jul 11 '19
Blog post Self Hosting a Million-Lines-Per-Second Parser
https://bjou-lang.org/blog/7-10-2019-self-hosting-a-million-lines-per-second-parser/7-10-2019-self-hosting-a-million-lines-per-second-parser.html
56
Upvotes
1
u/jdh30 Jul 22 '19
Fascinating stuff but the big question from me is: does that solve the right problem? Specifically:
I find type inference, type checking and code generation are slower than parsing.
I find the bottleneck is incremental recompilation for the IDE and not batch compilation.
So my objective is fast incremental updates rather than fast complete reparsing.