4 ms·
Better not use popular toolchains then: https://gcc.gnu.org/wiki/New_C_Parser https://gcc.gnu.org/wiki/New_C_Parser https://clang.llvm.org/features.html https
by amluto 2y ago
Better not use popular toolchains then:
https://gcc.gnu.org/wiki/New_C_Parser https://gcc.gnu.org/wiki/New_C_Parser
https://clang.llvm.org/features.html https://clang.llvm.org/features.html
I think this is a quite popular approach for multiple reasons. That being said, tree sitter uses GLR.
- fatih-erikli-cg 2y agoThere is no recursion involved in parsing. You keep a stack for the tree.
- bonzini 2y agoRecursive descent uses the processor stack as the parsing stack.
- fatih-erikli-cg 2y agoRecursion is mostly involved in interpreter, and most of the time it is a bad practice. No recursion needed in parser.
- bonzini 2y agoDunning-Krueger effect at its best, I am done arguing.