Skip to content
Snippets Groups Projects
  1. Jun 08, 1999
  2. Jun 07, 1999
  3. Jun 04, 1999
  4. Jun 03, 1999
  5. Jun 02, 1999
  6. Jun 01, 1999
    • Simon Marlow's avatar
      [project @ 1999-06-01 16:40:41 by simonmar] · 904f158f
      Simon Marlow authored
      This commit replaces the old yacc parser with a Happy-generated one.
      Notes:
      
      	- The generated .hs file is *big*.  Best to use a recent
      	  version of Happy, and even better to add the -c flag
      	  to use unsafeCoerce# with ghc (versions 4.02+ please).
      
      	- The lexer has grown all sorts of unsightly growths and
      	  should be put down as soon as possible.
      
      	- Parse errors may result in strange diagnostics.  I'm looking
      	  into this.
      
      	- HsSyn now contains a few extra constructors due to the way
      	  patterns are parsed as expressions in the parser.
      
      	- The layout rule is implemented according to the Haskell
      	  report.  I found a couple of places in the libraries where
      	  we previously weren't adhering to this - in particular the
      	  rule about "nested contexts must be more indented than
      	  outer contexts".  The rule is necessary to disambiguate
      	  in the presence of empty declaration lists.
      904f158f
    • Simon Marlow's avatar
      [project @ 1999-06-01 16:15:42 by simonmar] · 6ee2f67e
      Simon Marlow authored
      Remove illegal use of layout.
      6ee2f67e
    • Simon Marlow's avatar
      [project @ 1999-06-01 09:56:22 by simonmar] · f4605cb8
      Simon Marlow authored
      "oops"
      f4605cb8
  7. May 28, 1999
  8. May 26, 1999
  9. May 24, 1999
Loading