simpleparse.examples.vrml | index /home/mcfletch/pylive/simpleparse/examples/vrml.py |
VRML97-compliant Parser
This example is a full VRML97 parser, originally created
for the mcf.vrml VRML-processing system. It supports all
VRML97 constructs, and should be correct for any VRML97
content you can produce. The parser is fairly fast
(parsing around 280,000 cps on a 1GHz Athlon machine).
Functions | ||
|
Data | ||
VRMLPARSERDEF = "header := -[\\n]*\nrootItem := ts,(P... := ( [ \\011-\\015,]+ / ('#',-'\\012'*,'\\n')+ )*\n" |