summaryrefslogtreecommitdiff
path: root/src/GF
AgeCommit message (Collapse)Author
2008-12-19command dg for showing source grammar dep graph restoredaarne
2008-12-17added codepage 1250 i.e. central european. Useful for Polish, Czech, ↵krasimir
Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian, Romanian and Albanian
2008-12-15visualization of word alignment based on bracketing (command aw); does not ↵aarne
work for syncategorematic words yet
2008-12-13bracketing with tree node reference: l -bracketaarne
2008-12-12morphological analyser in shell state - now reasonably fastaarne
2008-12-08removed dependencies of Zipper and editor in GF grammar compileraarne
2008-12-08preperations for Val of paramsaarne
2008-12-08data structures for param values with number, preparing optimized pattern ↵aarne
matching in grammar compilation
2008-12-04fixed a Compute bug due to failure to match typed record values with untyped ↵aarne
record patterns
2008-12-01Remove more unused stuff from GF.Data.Operations.bjorn
2008-11-27Remove lots of old unused stuff from GF.Data.Operations.bjorn
2008-11-27More efficient implementation of topological sort. bjorn
Profiling the compilation of the OALD lexicon showed that 90-95% of the time was spent in topoSort. The old implementation was quadratic. Replaced this with O(E + V) implementation, in GF.Data.Relation. This gave a 10x speed-up (~ 25 sec instead of ~270 sec) for compiling ParseEng and OaldEng.
2008-11-27Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.bjorn
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-11-26My profiling showed that the BinTree operations were responsible for about ↵bjorn
60% of the CPU time when reading a large .gfo file. Replacing BinTree by Data.Map reduced this to about 6%, which meant about 50% reduction in total CPU time.
2008-11-18restored "?" as system pipe commandaarne
2008-11-18fixed a bug with type checking function typesaarne
2008-11-17Fix in Prolog output of the atom "'"peb
2008-11-10print "no trees found" in GF shell if an empty tree list is returned by p or ptaarne
2008-11-10lexer documentation in help and tutorial updatedaarne
2008-11-10updated tutorial up to lexers ; fixed lexcode in GF (was wrong due to a typo)aarne
2008-11-09SRG generation: renameCats now gives new names to all cates used in the ↵bjorn
grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called.
2008-10-30Include .gf file name in source parsing syntax error message.bjorn
2008-10-28remove some redundant imports of GF.Text.UTF8krasimir
2008-10-28binary serialization for PGFkrasimir
2008-10-27missing case in PGF generationaarne
2008-10-25fix typokrasimir
2008-10-25add cp1252. usefull for Swedish and Germankrasimir
2008-10-25extend the cp1251 coding to cover all cyrillic letterskrasimir
2008-10-21efficient and nicer implementation for literal categorieskrasimir
2008-10-20Added --parser=ondemand flag.bjorn
2008-10-20Added PGF.Macros.mapConcretesbjorn
2008-10-20Added Read and Show instances for CId. Also added readCId :: String -> Maybe ↵bjorn
CId, and use that for readLanguage.
2008-10-20Replace Category with Type in the PGF API. Added readLanguage and showLanguage.bjorn
2008-10-20preparation for dep. types. The -cat option can take any type instead of ↵krasimir
just a category. The PGF API is generalized as well.
2008-10-19move the literal category names to PGF.Macroskrasimir
2008-10-19move PGF.Quiz to GF.Quiz. It is not part of the PGF APIkrasimir
2008-10-16Export list in GF.Compile.GetGrammarbjorn
2008-10-16Copy command-line flags to in-memory module when reading from a .gfo file. ↵bjorn
This maeans that command-line flags get put in the .pgf file.
2008-10-16In shell "p" command, only try languages that have a parser.bjorn
2008-10-16A bit more verbosity when combining PGF files. Use putPointE when writing ↵bjorn
output files.
2008-10-16Honor --erasing flag from command-line also when compiling existing .gfo to PGF.bjorn
2008-10-15restored the possibility to compile .cf files to gfaarne
2008-10-15high-order syntax in PMCFGkrasimir
2008-10-15rename some variable nameskrasimir
2008-10-15Copy command-line options to module flags when compiling to .gfo.bjorn
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-15rename emptyFRulesEnv to emptyGrammarEnvkrasimir