This patch series is yet another attempt to parse SFDL programs. The parser is based on Pyparsing, which makes it very easy to write recursive descent parsers:
http://pyparsing.wikispaces.com/ So far the parser can handle all the examples I've tried. It evaluates the constant expressions found in the programs, but it does not produce any VIFF programs yet. This is just a suggestion for how I would handle the easy part of parsing the programs. The difficult part is mapping the SFDL constructs to VIFF (Python) constructs. _______________________________________________ viff-patches mailing list [email protected] http://lists.viff.dk/listinfo.cgi/viff-patches-viff.dk
