simonmar    2003/02/10 09:12:44 PST

  Modified files:        (Branch: simonm-hackery-branch)
    happy/alex/src       AbsSyn.hs Alex.hs CharSet.hs DFA.hs 
                         Main.hs Makefile NFA.hs 
  Added files:           (Branch: simonm-hackery-branch)
    happy/alex/src       Info.hs Util.hs 
  Log:
  Commit another bootstrapping fixed-point.
  
  The main change here is the way start-codes are handled: rather than
  having each Accept record list the startcodes to which it applies,
  we now map each start code onto its own start-state in the DFA.  This
  is much simpler in the back-end: we don't have to check start-codes
  before accepting a symbol, and it lets us remove a field from the
  Accept record.
  
  I pretty much rewrote NFA.hs too, using a monad to create the NFA
  (idea pinched from Thomas Hallgren's LHiH code).
  
  Revision  Changes    Path
  1.1.2.2   +2 -2      fptools/happy/alex/src/Attic/AbsSyn.hs
  1.1.1.1.2.2 +10 -13    fptools/happy/alex/src/Alex.hs
  1.1.2.2   +1 -1      fptools/happy/alex/src/Attic/CharSet.hs
  1.1.1.1.2.2 +28 -23    fptools/happy/alex/src/DFA.hs
  1.1.1.1.2.2 +115 -61   fptools/happy/alex/src/Main.hs
  1.2.2.2   +1 -1      fptools/happy/alex/src/Makefile
  1.1.1.1.2.2 +146 -143  fptools/happy/alex/src/NFA.hs
_______________________________________________
Cvs-happy mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-happy


Reply via email to