]> hydra-www.ietfng.org Git - dyna2/commit
Make emissions explicit in DOpAMine
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 1 Jun 2013 22:24:48 +0000 (18:24 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Sat, 1 Jun 2013 22:33:11 +0000 (18:33 -0400)
commit1c81048cc5e8156714beefad4ce739472c68a482
tree5557beabf6dd46c38676773d9add3098ce170c27
parent6e4cb79a8f2736f898f6702bd9ea1d172b573afd
Make emissions explicit in DOpAMine

Change the world so that the planner generates OPEmit verbs rather
than emissions being magical bits of the backend.  Expand the notion of an
emission to include the rule index (required for :=) and a set of variables
for hyper-edge identification.  (Currently, we emit all of them, but later
we will want to trim this down to only nondeterministic variables.)

This change is the code-generator mate of timv's changes in 6abdc37.
src/Dyna/Analysis/ANF.hs
src/Dyna/Analysis/DOpAMine.hs
src/Dyna/Analysis/RuleMode.hs
src/Dyna/Backend/Python/Backend.hs
src/Dyna/Main/Defns.hs [new file with mode: 0644]
src/Dyna/ParserHS/Parser.hs