>>> from yacc import yacc
>>> from ewa.ruleparser import RuleParser
>>> yacc.yacc(module=RuleParser(), tabmodule="_ruletab")
^D
$ cp _ruletab.py /path/to/ewa/_ruletab.py
I think I'll bundle a version of ply with the next ewa release so that
we don't need to worry about going out of sync in future.
js