Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
寻找 java 解析器生成器,它接受实现 Comparable 接口(或者可能是一些特定于解析器的接口)的自定义类的对象作为结果解析器中的输入标记。ANTLR 似乎过于面向字符流。有什么建议么?
通常我使用JavaCC。它非常简单,你可以生产你想要的东西。
在这里你可以找到一个简单的教程。