]> hydra-www.ietfng.org Git - dyna2/commit
Many changes
authorTim Vieira <tim.f.vieira@gmail.com>
Mon, 1 Jul 2013 04:46:35 +0000 (00:46 -0400)
committerTim Vieira <tim.f.vieira@gmail.com>
Mon, 1 Jul 2013 04:46:35 +0000 (00:46 -0400)
commit8a2853d83efd616d2abaf5a0cd10bc27b38a511b
treee2f97ba23f4902824f19236e8e9a2f60f6b6b223
parent78463cedab54108b39bd16610d32527c54723b3d
Many changes

* changed repl prompt

* commented out failed attempt at providing 'for X in [1,2,3]'

* hid developer tools from repl.

* trace:

  - fixed cycle detection

  - terser information printed for each edge.

    item => value

      | += val1
      |
      |    instantiated rule with subexpressions and variable values shown
      |    inline.
      |
      |     RECURSE on items in rule.
      |
      | += val2

  - changed color coding.

  - documentation, `> help trace`

* No more barfing on empty input to trace, query, vquery.
examples/expected/lists.py.out
src/Dyna/Backend/Python/Backend.hs
src/Dyna/Backend/Python/interpreter.py
src/Dyna/Backend/Python/post/trace.py
src/Dyna/Backend/Python/repl.py
src/Dyna/Backend/Python/term.py
src/Dyna/Backend/Python/utils.py