Author: thebeing
Date: Sat Apr 21 23:34:36 2012
New Revision: 7671

URL: http://svn.gna.org/viewcvs/etoile?rev=7671&view=rev
Log:
Some tentative improvements to ParserKit:

* Make PKParseFail record where the failure occurred. Otherwise, printing
  sensible diagnostics seems a bit difficult.
* Bindings are now scoped so that sub-expressions can access variables already
  bound by super-expressions.
* Improved the built-in PEG grammar with a bunch of actions declarations,
  though none of those are implemented in the delegate yet. Also added support
  for referencing rules from the super-grammar (non-final syntax: `^rule') and
  from foreign grammars (non-final syntax: `grammar::rule')
* Changed the way actions were printing themselves, for more complex grammars, 
  all the escaping done by [NSArray description] looks really ugly...


Modified:
    trunk/Etoile/Languages/ParserKit/ParserKit.st


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to