~psmay/+junk/mskp-parser.dev

Viewing all changes in revision 29.

  • Committer: Peter S. May
  • Date: 2011-01-13 20:48:17 UTC
  • Revision ID: pmay@pmay-desktop-20110113204817-928n5j0e0dbf2npg
* Mskp.g
        Added "promote" tokens to grammar to distinguish them from normal tags.

* MskpWalkerFirst.g
        Added "promote" tokens to grammar to distinguish them from normal tags.
        Adjusted walker to largely treat PROMOTE the same as TAG.
        Fixed the distributive tagging code so that new tree nodes are only created from adaptor.create(int,Token). Using adaptor.create(Token) was causing some frustrating errors; I think I may not understand its semantics.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: