Lexer and Parser Generators for Common Lisp [closed]

▼魔方 西西 提交于 2019-12-08 18:06:24

问题


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:

  • http://www.cliki.net/LEXER
  • http://www.cliki.net/parser%20generator

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.



来源:https://stackoverflow.com/questions/12273892/lexer-and-parser-generators-for-common-lisp

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