开发者

Parsing S-Expressions in Python [closed]

开发者 https://www.devze.com 2023-01-05 15:26 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 6 years ago.

Improve this question

Are there any python modules available for parsing and manipulating symbolic expressions in Python similar to how Lisp expressions are evalu开发者_StackOverflow社区ated?


pyparsing (dead link - but see github: pyparsing) comes with an S-expression parser as an example, see here.


Also, depending on how much work with sexpressions you are doing you might want to check out python hy: https://github.com/hylang/hy

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号