]> hydra-www.ietfng.org Git - dyna2/commit
Better error messages:
authortimv <tim.f.vieira@gmail.com>
Wed, 5 Jun 2013 22:14:56 +0000 (18:14 -0400)
committertimv <tim.f.vieira@gmail.com>
Wed, 5 Jun 2013 22:14:56 +0000 (18:14 -0400)
commit781d84f20c2b25ae53ab0da1162633959bb813bc
tree739f48f07f93f7e0bd9f8078a38e059751587f96
parentefa159a3ccce24bce9e54aba65071b93b82dbe5a
Better error messages:

 - handle errors in rule initializers.

 - include rule source in error message

 - no need to run delete-updates when an item "was" causing an error because
   these updates don't land on the agenda.

REPL uses correct rule indexes

 - Parser state maintained across calls.

 - colon equals is no longer buggy in the REPL.

Codegen minor aesthetics
examples/errors.dyna
src/Dyna/Backend/Python/Backend.hs
src/Dyna/Backend/Python/interpreter.py
src/Dyna/Backend/Python/utils.py