simpleparse.examples.simpleexample2_2 | index s:\sp\simpleparse\examples\simpleexample2_2.py |
Re-written version of simpleexample for 2.0
Shows use of Parser to check syntax of declaration and
test that a particular production is matching what we
expect it to match...
Modules | ||||||
|
Data | ||
__file__ = r'S:\sp\simpleparse\examples\simpleexample2_2.pyc' __name__ = 'simpleparse.examples.simpleexample2_2' declaration = '# note use of raw string when embedding in pytho...ring/number/identifier\nts := [ \\t]*\n' parser = <simpleparse.parser.Parser instance at 0x009154D0> production = 'equality' testEquality = ['s=3\n', 's = 3\n', ' s="three\\nthere"\n', ' s=three\n'] |