~washort/monte/unparser

« back to all changes in this revision

Viewing changes to monte/baseparser.py

  • Committer: Allen Short
  • Date: 2012-05-16 15:14:59 UTC
  • Revision ID: washort42@gmail.com-20120516151459-k5n6sd261syuq1s1
depend on actual pymeta

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# See LICENSE for details.
3
3
 
4
4
import string
5
 
from pymeta.grammar import OMetaGrammar, PortableOMeta, OMeta, ActionNoun, ActionCall, ActionLiteral
 
5
from monte.grammar import PortableOMeta, ActionNoun, ActionCall, ActionLiteral
6
6
 
7
7
baseGrammar = r"""
8
8
spaces ::= (' '|'\t'|'\f'|('#' (~<eol> <anything>)*))*