]> hydra-www.ietfng.org Git - dyna2/commit
Rework rule planner to take modes from backend
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 17 Dec 2012 23:30:43 +0000 (18:30 -0500)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 17 Dec 2012 23:30:43 +0000 (18:30 -0500)
commit445ebb3fccf65ec14dc4e61df10fd46b5ec87ffd
tree49d9a7f9f4953cbc766ee686c9e9b9ca1841e0bf
parentc5499403b5073170f836e5e7f9008620075bcb25
Rework rule planner to take modes from backend

While here, factor out some material to Dyna.Analysis.Base, and execute a
proof-of-concept change by adding true/0 and false/0 as constants which
evaluate to True and False in the Python backend.

Some other minor changes seem to have crept in, too.
bin/defn.py
src/Dyna/Analysis/ANF.hs
src/Dyna/Analysis/Base.hs [new file with mode: 0644]
src/Dyna/Analysis/RuleMode.hs
src/Dyna/Backend/Python.hs
src/Dyna/Main/Exception.hs