]> hydra-www.ietfng.org Git - dyna2/commit
Rework parser infrastructure
authorNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 3 Jun 2013 07:10:32 +0000 (03:10 -0400)
committerNathaniel Wesley Filardo <nwf@cs.jhu.edu>
Mon, 3 Jun 2013 07:10:32 +0000 (03:10 -0400)
commitc271da59c173ebbc6fd851d006c741685d9cc2b6
treece0dd5d2602706c097f242d6f9c33e497a2eae56
parent8cabac1f2df9bdfb5d61b990f6fede80db1cc36f
Rework parser infrastructure

Parser now really should just be the parser.
OneshotDriver consumes an entire Dyna program at once, tracking
  all the requisite state from line to line, before emitting the
  whole mass to the down-stream pipeline.

While here, push through some changes for custom operator symbols, though
this is not quite wired up yet.
dyna.cabal
src/Dyna/Analysis/ANF.hs
src/Dyna/Main/Driver.hs
src/Dyna/ParserHS/OneshotDriver.hs [new file with mode: 0644]
src/Dyna/ParserHS/Parser.hs
src/Dyna/ParserHS/Selftest.hs
src/Dyna/Term/SurfaceSyntax.hs
src/Dyna/XXX/MonadUtils.hs
src/Dyna/XXX/TrifectaTest.hs