~washort/monte/unparser

« back to all changes in this revision

Viewing changes to pysrc/pymeta/grammar.py

  • Committer: Allen Short
  • Date: 2010-04-02 03:40:34 UTC
  • Revision ID: washort@allen-shorts-macbook-pro.local-20100402034034-d776ks8mnm8852dt
eparser tests all fail, but they fail better.

Show diffs side-by-side

added added

removed removed

Lines of Context:
260
260
semanticPredicate ::= <token "?("> <action>:a <token ")"> => self.predicate(a)
261
261
semanticAction ::= <token "!("> <action>:a <token ")"> => self.action(a)
262
262
applicationArgs ::= (<spaces> <action>)+:args <token ">"> => [self.result(a) for a in args]
263
 
string ::= <bareString>:s => self.builder.apply("tokenBR", self.name, [[repr(s)]])
 
263
string ::= <bareString>:s => self.builder.apply("tokenBR", self.name, self.action(ActionLiteral(s)))
264
264
"""
265
265
 
266
266