summaryrefslogtreecommitdiff
path: root/src/GF/Source/LexGF.hs
AgeCommit message (Collapse)Author
2009-03-16use new parser which supports the syntax in GF.Grammar.Grammar directlykrasimir
2008-11-26Don't use string sharing in LexGF.bjorn
Profiling showed that when loading a large .gfo file, shareString was responsible for 15-18% of the CPU time, and a lot of the allocation. Since we already use ByteStrings for reading the source files, shareString mostly has the effect of creating lots of small ByteStrings instead of one large one. Since the plain size of the .gfo is seldom a problem (unlike when it was read as a String), it is ok to keep the whole file as one ByteString in RAM, and have all tokens point into that. Profiling after the change showed 15-20% reduction in CPU time and in total allocation.
2008-10-02Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is ↵bjorn
used, no hand-hacking is needed.
2008-10-02Converted GF/Source/*.hs to Unix line endings, to be able to see what ↵bjorn
happens when I regenerated the files.
2008-06-25changed names of resource-1.3; added a note on homepage on releaseaarne
2008-06-25removed src for 2.9aarne
2008-04-17ByteString.readFile should be used instead of readFileStrict. This fixes the ↵krasimir
problem with the open files
2008-03-15putting pattern macros in place (not properly tested yet)aarne
2008-03-15switched to unmodified BNFC-generated componentsaarne
2006-09-01the Error type; better lexer error reportingaarne
2006-08-28the EOF error changed to more informative lexer error msgaarne
2005-12-20full disjunctive patterns ; more prec levels for Expaarne
2005-12-02floats in GF and GFC (parsing user input still doesn't work)aarne
2005-05-25Added support for list categories.bringert
2005-04-21Fixed module names and imports after giant file move.bringert
2005-02-04resources and new instantiation syntaxaarne
2005-02-04Removed module headers from generated files with pragmasbringert
2005-02-04"Committed_by_peb"peb
2005-01-11-val optimizationaarne
2004-12-08Generated GF and GFC lexers with BNFC with string sharing support.bringert
2004-12-07Do string sharing after unescaping in source and canonical grammars.bringert
2004-12-06More sharing of reserved words in GF and GFC lexers. Added GF lexer alex file.bringert
2004-12-06Use strict parser and GHC-specific lexer for source grammars.bringert
2004-09-22making parsing ImperC workaarne
2004-09-14gfcm headeraarne
2004-06-24last-minute bug fixesaarne
2004-02-27Started with unions.aarne
2003-10-23Working with interfaces and incomplete modules.aarne
2003-10-01Putting def definitions in place.aarne
2003-09-22Founding the newly structured GF2.0 cvs archive.aarne