]> hydra-www.ietfng.org Git - dyna2/commit
Interpreter states encapulated in an `Interpreter` instance.
authortimv <tim.f.vieira@gmail.com>
Thu, 6 Jun 2013 22:49:43 +0000 (18:49 -0400)
committertimv <tim.f.vieira@gmail.com>
Thu, 6 Jun 2013 22:49:43 +0000 (18:49 -0400)
commit6cd1ad9647c18fabb989f057c9e8d490efb3300d
tree39f1cd6b0f410c1971e2da921891a6457e1be9da
parent781d84f20c2b25ae53ab0da1162633959bb813bc
Interpreter states encapulated in an `Interpreter` instance.

  - this was a big refactoring adds a few new files (chart.py, repl.py,
    config.py)

Fix: Errors stop on first failed handler.

Adding a new rule is safe. We check that the initializers run and there are no
aggregator conflicts before added the new rules to `Interpreter` state. We stage
propagation.

I've document a few more errors (see `examples/string-quote.dyna`)

Using the ~/.dyna directory

  - adds a dependency to the `path.py` module
examples/errors.dyna
examples/string-quote.dyna [new file with mode: 0644]
src/Dyna/Backend/Python/Backend.hs
src/Dyna/Backend/Python/chart.py [new file with mode: 0644]
src/Dyna/Backend/Python/config.py [new file with mode: 0644]
src/Dyna/Backend/Python/debug.py
src/Dyna/Backend/Python/interpreter.py
src/Dyna/Backend/Python/repl.py
src/Dyna/Backend/Python/utils.py