summaryrefslogtreecommitdiff
path: root/src/GF/Source
AgeCommit message (Collapse)Author
2009-09-14clean up the GF.Grammar APIkrasimir
2009-09-14CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that ↵krasimir
was hiding the warnings
2009-06-23made .cf grammars take their startcat from the first ruleaarne
2009-05-22some work on evaluation with abstract expressions in PGFkrasimir
2009-05-22fix the handling of wildcardskrasimir
2009-05-20refactor the PGF.Expr type and the evaluation of abstract expressionskrasimir
2009-03-16use new parser which supports the syntax in GF.Grammar.Grammar directlykrasimir
2009-02-23Perhaps -> Maybe refactoring and better error message for conflicts during ↵krasimir
module update
2009-01-31bug fix in the module dependencies checkerkrasimir
2009-01-23remove some more obsolete codekrasimir
2009-01-19refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removedkrasimir
2008-12-08data structures for param values with number, preparing optimized pattern ↵aarne
matching in grammar compilation
2008-11-27Remove ununsed GF.Source.SharedString module.bjorn
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-20Added --parser=ondemand flag.bjorn
2008-10-15restored the possibility to compile .cf files to gfaarne
2008-10-15Merge ModuleOptions and Options.bjorn
2008-10-15Added OPTIONS class to make options handling somewhat nicer. Next, I will ↵bjorn
merge Flags and ModuleFlags.
2008-10-03Added | syntax for variants.bjorn
2008-10-02Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is ↵bjorn
used, no hand-hacking is needed.
2008-10-02Added src/GF/Source/Makefile for regenerating the GF source parser from GF.cf.bjorn
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-22Use Happy grammar for imports extraction instead of hand made shallow crapy ↵krasimir
grammar
2008-04-17ByteString.readFile should be used instead of readFileStrict. This fixes the ↵krasimir
problem with the open files
2008-03-18miising ErrM added...aarne
2008-03-15putting pattern macros in place (not properly tested yet)aarne
2008-03-15switched to unmodified BNFC-generated componentsaarne
2008-01-04finalizing experiments with Finnish nounsaarne
2007-11-27started experimental new module syntaxaarne
2007-11-01Added explicit export list to ParGF.bringert
2007-11-01Regenerated ParGF.y with current BNFC, and regenerated ParGF.hs with Happy ↵bringert
1.17. This seems to fix some of the less informative parsing error messages.
2007-10-08gfc now generates gfcc with deptypes, defs, printnamesaarne
2007-09-20compact printing of gf filesaarne
2007-06-19extended functor syntaxaarne
2007-06-17marked deprecated productions in GF.cfaarne
2007-05-15started direct compiler from GF to GFCCaarne
2006-11-18overload syntax; type printing in CheckGrammaraarne
2006-11-17oper overloading: first implemenatation using recordsaarne
2006-11-14internal representation for param value indexaarne
2006-09-01the Error type; better lexer error reportingaarne
2006-08-28the EOF error changed to more informative lexer error msgaarne
2006-05-23bug fix in with-modules and gr checker; factoring out cats to Commonaarne
2006-03-04example based also with treebank, with real term parseraarne
2006-01-07regular expression patternsaarne
2006-01-07regex patterns for tokensaarne
2006-01-06concatenation string patternsaarne
2005-12-20full disjunctive patterns ; more prec levels for Expaarne
2005-12-06opers in cncaarne