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.
我正在尝试使用 JFlex 为 YAML 编写词法分析器,但发现它很难,因为:
有多行字符串,如:
longstr: > This is multiline line
很难实施。
我不知道如何为他们确定并返回正确的令牌类型。
我徘徊使用JFlex是一个不错的选择吗?或者我需要一些其他的 YAML 工具吗?