Pyparsing Question.

Ant antroy at gmail.com
Thu Nov 23 10:36:36 EST 2006


> Welcome to pyparsing!  The simplest way to implement a markup processor in
> pyparsing is to define the grammar of the markup, attach a parse action to
> each markup type to convert the original markup to the actual results, and
> then use transformString to run through the input and do the conversion.
> This discussion topic has some examples:
> http://pyparsing.wikispaces.com/message/view/home/31853.

Thanks for the pointers - I had a look through the examples on the
pyparsing website, but none seemed to show a simple example of this
kind of thing. The discussion topic you noted above is exactly the sort
of thing I was after!

Cheers,




More information about the Python-list mailing list