https://lalrpop.github.io/lalrpop/lexer_tutorial/index.html
This part is about controlling the inner workings of LALRPOP’s built-in lexer generator and using your own hand written parser.
MST — 这部分是关于控制 LALRPOP 的内置词法分析器生成器的内部工作,并使用你自己的手写解析器。
GPT — 这一部分讲述了如何控制 LALRPOP 内建词法分析器生成器的内部工作原理,以及如何使用你自己手写的解析器。
LALRPOP’s lexer generator
Lexing raw delimited content
Writing a custom lexer
Using tokens with references
Using an external library
来源链接:https://www.cnblogs.com/Tifahfyf/p/18653321
没有回复内容