cvs commit: fptools/happy/alex/src AbsSyn.hs Main.hs Makefile Output.hs Parser.y Scan.hs fptools/happy/alex/templates GenericTemplate.hs
Simon Marlow <[email protected]> Wed, 12 Feb 2003 11:37:01 -0500 (EST)
| Newsgroups | gmane.comp.lang.haskell.cvs.happy |
|---|---|
| Message-ID | <200302121636.IAA14121__4532.41141881353$1045068583@glass.cse.ogi.edu> |
simonmar 2003/02/12 08:36:25 PST Sender: [email protected] Errors-To: [email protected] X-BeenThere: [email protected] X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: <mailto:[email protected]?subject=help> List-Post: <mailto:[email protected]> List-Subscribe: <http://www.haskell.org/mailman/listinfo/cvs-happy>, <mailto:[email protected]?subject=subscribe> List-Id: fptools/happy CVS commit messages. <cvs-happy.haskell.org> List-Unsubscribe: <http://www.haskell.org/mailman/listinfo/cvs-happy>, <mailto:[email protected]?subject=unsubscribe> List-Archive: <http://www.haskell.org/pipermail/cvs-happy/> Date: Wed, 12 Feb 2003 08:36:25 -0800 Modified files: (Branch: simonm-hackery-branch) happy/alex/src AbsSyn.hs Main.hs Makefile Output.hs Parser.y Scan.hs happy/alex/templates GenericTemplate.hs Log: Another fixed-point. I've implemented GHC-specific hacks to reduce the size of the tables, using exactly the same technique as in Happy, i.e. the tables are encoded as strings. Also some unboxery was used in the lexer engine itself for speed. The GHC-specific stuff is selected with the -g flag, as for Happy. This reduces the size of the binary of Alex's own lexer by a further 80% or so. Revision Changes Path 1.1.2.5 +4 -18 fptools/happy/alex/src/Attic/AbsSyn.hs 1.1.1.1.2.5 +58 -14 fptools/happy/alex/src/Main.hs 1.2.2.4 +4 -3 fptools/happy/alex/src/Makefile 1.1.2.2 +41 -31 fptools/happy/alex/src/Attic/Output.hs 1.1.2.4 +9 -7 fptools/happy/alex/src/Attic/Parser.y 1.1.1.1.2.4 +74 -127 fptools/happy/alex/src/Scan.hs 1.1.2.2 +87 -26 fptools/happy/alex/templates/Attic/GenericTemplate.hs