Commit Graph

50 Commits

Author SHA1 Message Date
krasimir
94171908c0 before the optimizations OptParametrize and OptValues were applied twice. in addition the values optimization is now always applied because it become very cheep 2009-11-12 21:11:51 +00:00
krasimir
3d838e0172 bugfix: GF.Compile.GrammarToGFCC should not strip the parameter values 2009-11-12 20:09:59 +00:00
krasimir
980844a4ad restructure ResParam and ResValue 2009-10-28 16:47:01 +00:00
krasimir
83bc6d4cda simplify the Term again 2009-10-27 15:45:05 +00:00
krasimir
6753fdae72 strip some redundant constructors from GF.Grammar.Grammar 2009-10-25 18:01:04 +00:00
krasimir
8a0db59798 split the abstract syntax specific and the concrete syntax specific modules in different subfolders in GF.Compile 2009-10-24 17:42:02 +00:00
krasimir
af831e01a7 refactoring in GF.Grammar.Macros 2009-09-21 06:56:39 +00:00
krasimir
96786c1136 syntax for implicit arguments in GF 2009-09-20 13:47:08 +00:00
krasimir
a29a8e4f60 rename MetaSymb in GF.Grammar.Grammar to MetaId to match the convention in PGF 2009-09-20 10:28:27 +00:00
krasimir
b1a51f46f5 change the data types and the syntax in PGF to match the new syntax for implict arguments 2009-09-20 11:43:41 +00:00
krasimir
726d160c8d bugfix: the identifiers in the output of l -table should not be qualified 2009-09-25 08:53:27 +00:00
krasimir
14dfbcc624 clean up the GF.Grammar API 2009-09-14 16:23:23 +00:00
krasimir
9f3534b3bb Use GF.Grammar.Printer everywhere instead of PrGrammar 2009-09-14 15:13:11 +00:00
krasimir
62ef772a2c CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that was hiding the warnings 2009-09-14 12:16:02 +00:00
krasimir
b97d6abb81 hopefully complete and correct typechecker in PGF 2009-09-06 20:31:52 +00:00
krasimir
279ff9a6d2 PGF.Type.Hypo now can represent explicit and implicit arguments and argument without bound variable 2009-07-05 15:44:52 +00:00
krasimir
95a577d269 simple profiler for PMCFG 2009-09-05 14:04:39 +00:00
krasimir
41b263cf6a some work on evaluation with abstract expressions in PGF 2009-05-22 18:54:51 +00:00
krasimir
7db4b641ce refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
krasimir
01fef5109c Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +00:00
krasimir
ff0c0085cf bug fix in the module dependencies checker 2009-01-31 10:49:01 +00:00
krasimir
d95ca4a103 refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed 2009-01-19 13:23:03 +00:00
aarne
75ecc5f97b preperations for Val of params 2008-12-08 12:49:03 +00:00
aarne
de8bea8d69 data structures for param values with number, preparing optimized pattern matching in grammar compilation 2008-12-08 07:15:19 +00:00
aarne
d38f56b025 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
5dee98234e 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
krasimir
03d86ba05c remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
krasimir
ebd98056ce binary serialization for PGF 2008-10-28 13:57:10 +00:00
aarne
970e69add9 missing case in PGF generation 2008-10-27 09:24:33 +00:00
bjorn
d327d9da6c Added --parser=ondemand flag. 2008-10-20 14:52:50 +00:00
bjorn
6b8c9dd4c9 Added PGF.Macros.mapConcretes 2008-10-20 14:51:42 +00:00
bjorn
d1633b98d0 Honor --erasing flag from command-line also when compiling existing .gfo to PGF. 2008-10-16 08:27:43 +00:00
bjorn
1ecb4f63e9 Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags. 2008-10-15 11:38:34 +00:00
krasimir
4573d10442 the new optimized incremental parser and the common subexpression elimination optimization in PMCFG 2008-10-14 08:00:50 +00:00
aarne
e20969ab5d prevent pgf from being empty when there are no concrete syntaxes 2008-10-05 15:44:16 +00:00
aarne
21aa3cfa17 forced checking def definitions; accept pgf with no concretes 2008-10-05 15:21:08 +00:00
aarne
e7106b6181 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne
1bd799d006 completed IdiomCat to compile api and math 2008-09-09 16:11:05 +00:00
aarne
8cde25475b missing case in param lookup table in GrammartoGFCC 2008-09-09 15:33:56 +00:00
aarne
bc6b91799a debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
aarne
033da07c39 show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +00:00
aarne
3d22963267 infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +00:00
aarne
ddbeff3028 improved error message in pgf compilation to help debugging 2008-08-16 12:27:59 +00:00
aarne
0ce04f1a6e forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) 2008-08-14 20:25:52 +00:00
aarne
ed708ffda6 uniform encoding: gfo and pgf in UTF8, internal in unicode 2008-06-26 16:35:45 +00:00
aarne
f7622321de utf8 adjustments 2008-06-26 06:52:01 +00:00
aarne
e9e80fc389 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne
8d0aaf0b24 cleaned up obsolete GFCC references 2007-10-06 07:37:44 +00:00
aarne
7825a1a1c5 adapted GFCC2FCFG to other uses of GFCC, made it to default parser 2007-09-19 13:49:12 +00:00
aarne
035689f8c7 started direct compiler from GF to GFCC 2007-05-15 16:35:13 +00:00