[relaxng-user] Python parser for RELAX NG compact syntax

Dave Kuhlman dkuhlman at cutter.rexx.com
Thu Nov 20 16:33:26 ICT 2003


I've implemented (most of) a parser in Python for the RELAX NG
compact syntax.

It's written in Python and uses PLY (yet another implementation of
lex and yacc for Python).

The parser produces a parse tree whose nodes are instances of a class
ASTNode, which is defined in the parser module.

It's recognizes most but *not* all of the compact syntax, but,
hopefully, recognizes enough to make it useful, and can be
extended when necessary.

You can find documentation on the parser here:

    http://www.rexx.com/~dkuhlman/relaxngcompact.html

And, you can find a distribution file here:

    http://www.rexx.com/~dkuhlman/relaxngcompact-1.0a.tar.gz

If I can be of help with this, please let me know.

Dave

-- 
Dave Kuhlman
dkuhlman at rexx.com
http://www.rexx.com/~dkuhlman


More information about the relaxng-user mailing list