]> hydra-www.ietfng.org Git - dyna2/commit
trace available at repl supports viewing derivations each item matching query
authorTim Vieira <tim.f.vieira@gmail.com>
Sun, 30 Jun 2013 04:49:45 +0000 (00:49 -0400)
committerTim Vieira <tim.f.vieira@gmail.com>
Sun, 30 Jun 2013 04:49:45 +0000 (00:49 -0400)
commit4b8f45909de842e529bfea457c3c835cf34d8618
treee607aa7021308ebc0434f9876251f9dbea3f4666
parentc3ca6c8f922d508858171ea328e44f138e1e3dc7
trace available at repl supports viewing derivations each item matching query

    :- a :- b.
    :- b:- c.
    :- c.
    =============
    a := true
    b := true
    c := true
    :- trace a

    a = true
    |
    └─ :- true
       # a :- b.
       # a :- b. where {}
       head:   &a
       result: b=true
       |
       └─ b = true
          |
          └─ :- true
             # b:- c.
             # b:- c. where {}
             head:   &b
             result: c=true
             |
             └─ c = true
                |
                └─ |= true
                   # c.
                   # c. where {}
                   head:   &c
                   result: &true
src/Dyna/Backend/Python/interpreter.py
src/Dyna/Backend/Python/post/trace.py
src/Dyna/Backend/Python/repl.py
test/repl/equals-errors.doctest [new file with mode: 0644]