Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parsing S-Expressions in Python [closed]

Are there any python modules available for parsing and manipulating symbolic expressions in Python similar to how Lisp expressions are evaluated?

like image 270
adinsa Avatar asked Jul 05 '10 23:07

adinsa


1 Answers

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

like image 105
Alex Martelli Avatar answered Nov 17 '22 20:11

Alex Martelli