ply
ply copied to clipboard
Python Lex-Yacc
Just added one comma and the word "this" to a sentence to fix it.
This example is detailed in (https://github.com/gabsfredes/LISPtoPOSFIX). It has a LISP expressionas an input and it generates an AST (abstract sintax tree), the conversion to an postfix expression is based on...
I suggest to add a one line mod (actually addition) "lexobj.lexdebug=debug" at line 980 of lex.py in order to allow a line ( in a lex user rule) if t.lexer.lexdebug:...