Commit Graph

1271 Commits

Author SHA1 Message Date
krasimir 7e75015e7d print semicolon after the ind statement 2009-03-05 13:14:17 +00:00
krasimir f3152a0c22 in GF.Grammar.Update - remove the indirection before to print the error message 2009-03-05 09:08:52 +00:00
krasimir 9e51c755c4 GF.Grammar.Printer: parenthesis around single identifier are not necessary 2009-03-04 15:22:23 +00:00
krasimir a31d3f747c another missing case in GF.Grammar.Printer 2009-03-04 13:52:01 +00:00
krasimir 9190efdd62 qualified/unqualified mode for GF.Grammar.Printer. Used in the "cc" command 2009-03-04 13:41:33 +00:00
krasimir c6bececa8a added few missing cases in GF.Grammar.Printer 2009-03-04 12:47:05 +00:00
aarne 9cb3f75c5c newlines and indentation in XML printing 2009-03-03 10:41:36 +00:00
krasimir e647de7149 fix the handling of flag coding 2009-02-23 14:17:16 +00:00
krasimir 0296492f9d Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +00:00
krasimir 72fa768613 PMCFG pretty printer 2009-02-07 23:31:22 +00:00
krasimir 8b7383b616 another bugfix in the module dependency checker 2009-02-01 21:32:46 +00:00
krasimir 008566d41d the new pretty printer is now used for all -dump-* options. added -dump-source. implemented -dump-opt 2009-02-01 12:24:37 +00:00
krasimir ccaf6a38a3 small fixes in GF.Grammar.Printer 2009-02-01 12:23:58 +00:00
krasimir 9275cd20c6 merge Lookup and LookAbs and move some lookup functions from PrGrammar to Lookup 2009-01-31 22:08:12 +00:00
krasimir 0e720570f9 the dependency graph now shows all dependencies 2009-01-31 21:15:42 +00:00
krasimir 8333aee547 some dead code elimination in UseIO and ReadFiles 2009-01-31 20:36:41 +00:00
krasimir f072485cf5 fix flag handling in combination with binary serialization 2009-01-31 16:53:21 +00:00
krasimir 99c430e5f5 bug fix in the module dependencies checker 2009-01-31 10:49:01 +00:00
krasimir d5f4482e39 remove some more obsolete code 2009-01-23 07:16:46 +00:00
krasimir 724417916c .gfo files in binary format 2009-01-23 06:15:27 +00:00
krasimir 5a5088a68c --make now implies --batch 2009-01-23 06:14:34 +00:00
krasimir 042739d747 pretty printing of qualified identifiers 2009-01-23 06:11:41 +00:00
krasimir 181e6a26b1 remove unused import 2009-01-23 06:11:10 +00:00
krasimir b0b0911a20 remove the obsolete GF\Devel directory 2009-01-22 15:28:10 +00:00
krasimir 523ca3a076 add hopefully complete binary serialization for the GF.Grammar.Grammar abstract syntax. Still not in use 2009-01-20 16:20:38 +00:00
krasimir e176b99d12 simple fixes in GF.Grammar.Printer 2009-01-20 15:38:52 +00:00
krasimir 425b464f2d whitespace only 2009-01-20 15:38:18 +00:00
krasimir c8e924707c remove some dead types from GF.Grammar.Grammar 2009-01-20 14:33:42 +00:00
krasimir 36c757b076 added pretty printing for flags 2009-01-20 14:07:13 +00:00
krasimir 6a0dcdd043 pretty printer for the GF.Grammar syntax. still not in use 2009-01-20 12:43:15 +00:00
krasimir 4f093feb49 refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed 2009-01-19 13:23:03 +00:00
aarne bd95b5e3eb command dg for showing source grammar dep graph restored 2008-12-19 14:28:58 +00:00
krasimir 79d51c4479 added codepage 1250 i.e. central european. Useful for Polish, Czech, Slovak, Hungarian, Slovene, Bosnian, Croatian, Serbian, Romanian and Albanian 2008-12-17 23:53:12 +00:00
aarne 2bccc3e405 visualization of word alignment based on bracketing (command aw); does not work for syncategorematic words yet 2008-12-15 10:33:53 +00:00
aarne 10fbaa6dec bracketing with tree node reference: l -bracket 2008-12-13 20:19:37 +00:00
aarne e8898ffd69 morphological analyser in shell state - now reasonably fast 2008-12-12 08:12:24 +00:00
aarne 666184ca64 removed dependencies of Zipper and editor in GF grammar compiler 2008-12-08 14:25:11 +00:00
aarne 72346d6aca preperations for Val of params 2008-12-08 12:49:03 +00:00
aarne ca4c63c58f data structures for param values with number, preparing optimized pattern matching in grammar compilation 2008-12-08 07:15:19 +00:00
aarne 7de283f322 fixed a Compute bug due to failure to match typed record values with untyped record patterns 2008-12-04 17:02:24 +00:00
bjorn 5ce5a3403b Remove more unused stuff from GF.Data.Operations. 2008-12-01 21:33:53 +00:00
bjorn acea90a252 Remove lots of old unused stuff from GF.Data.Operations. 2008-11-27 10:55:24 +00:00
bjorn f6cf10e655 More efficient implementation of topological sort.
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-27 10:29:29 +00:00
bjorn 210089b6c8 Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data. 2008-11-27 08:43:08 +00:00
bjorn 0619824fa3 Remove ununsed GF.Source.SharedString module. 2008-11-27 08:36:18 +00:00
bjorn 832f25fc2a Don't use string sharing in LexGF.
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-26 16:19:54 +00:00
bjorn 499d6ade49 My profiling showed that the BinTree operations were responsible for about 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-26 15:44:22 +00:00
aarne cad49a225d restored "?" as system pipe command 2008-11-18 15:31:30 +00:00
aarne 65aefea2d6 fixed a bug with type checking function types 2008-11-18 10:58:50 +00:00
peb fae330f733 Fix in Prolog output of the atom "'" 2008-11-17 13:33:53 +00:00