Lexer and Parser Generators for Common Lisp [closed]

匿名 (未验证) 提交于 2019-12-03 00:46:02

问题:

Can you recommend lexer and parser generators for Common Lisp? I have seen the following lists on CLiki, but most on the lists seem to be in their alpha stages:

So it would be helpful if you could share your good or bad experience with any of them or recommend other alternatives. I prefer a tool which is similar to traditional lex/yacc tools for other languages, but other approaches will be also welcome.

回答1:

There is smug (documentation), which provides "functional" parsers that are supposedly similar to some of Haskell's parsing libraries.

Also, if you're looking for Lex/Yacc style parsing, look into lispbuilder, which has lexer and yacc packages that seem mature.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!