1
0
forked from GitHub/gf-core
Commit Graph

114 Commits

Author SHA1 Message Date
krasimir
2ddefec2bc for 'lincat C = T' the typechecker should check that T is a valid type 2009-11-13 10:25:31 +00:00
krasimir
fad4c66451 check grammar should process the definitions in dependency order. This also ensures that the list of parameters for some parameter type is complete 2009-11-07 15:30:57 +00:00
krasimir
83eca99da1 check for cyclic parameters, operations and dependent types 2009-10-28 17:44:50 +00:00
krasimir
526e75fce1 restructure ResParam and ResValue 2009-10-28 16:47:01 +00:00
krasimir
d99e134fed bugfix in GF.Compile.CheckGrammar 2009-10-28 09:10:58 +00:00
krasimir
038b2c9f2d small refactoring in GF.Compile.CheckGrammar 2009-10-25 15:20:44 +00:00
krasimir
6cb3228a04 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
7ba65bb0d4 fix the error message for overload resolution 2009-10-06 14:59:02 +00:00
krasimir
9b2c81436c refactor GF.Infra.CheckM and use the CheckM monad in the renamer as well 2009-10-02 22:52:14 +00:00
krasimir
40373704ff refactoring in GF.Grammar.Macros 2009-09-21 06:56:39 +00:00
krasimir
c2ef7ed35d syntax for implicit arguments in GF 2009-09-20 13:47:08 +00:00
krasimir
45bfba4103 remove the transfer modules. We don't need anything special, a transfer module is module without concrete syntax 2009-09-17 14:32:20 +00:00
krasimir
9cebd25eac Use GF.Grammar.Printer everywhere instead of PrGrammar 2009-09-14 15:13:11 +00:00
krasimir
3e489086ed fix typo in CheckGrammar 2009-09-14 12:34:46 +00:00
krasimir
5d06550283 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
aarne
90bd07b1cf cleaning up overshadow failure to warning, after testing resource compilation 2009-06-22 14:51:58 +00:00
aarne
205c176315 fixed warnings in present compilation of resource, esp. unreached patterns 2009-06-22 14:30:55 +00:00
aarne
c8027c8a4c the construct lin C t now replaces lock fields (in source code; still tempor used internally); lock fields removed from english resource as an example 2009-06-20 13:50:34 +00:00
krasimir
f9c877eec6 some work on evaluation with abstract expressions in PGF 2009-05-22 18:54:51 +00:00
krasimir
640a388253 fix the handling of wildcards 2009-05-22 21:47:32 +00:00
krasimir
e5399f2d0e refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
krasimir
baf56d651c fix the generation of warnings in CheckGrammar. They are printed even in quiet mode and the prefix "Warning" is added automatically 2009-05-20 17:05:58 +00:00
aarne
3583561492 pattern macros: oper f : pattern T = # p ; used as #f in patterns 2009-05-18 15:01:18 +00:00
krasimir
27c602b14f the check for lincat C = <> is made more robust 2009-05-15 11:27:26 +00:00
krasimir
2ac2402843 if the lincat is empty record the linearizations are derived automatically 2009-05-15 09:34:06 +00:00
aarne
0bfa52e442 warning for overshadowed patterns, temporal solution 2009-04-06 14:07:22 +00:00
krasimir
6f733230dd use new parser which supports the syntax in GF.Grammar.Grammar directly 2009-03-16 14:10:30 +00:00
krasimir
26e86f13dc code cleanup in the typechecker 2009-03-15 17:33:14 +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
9275cd20c6 merge Lookup and LookAbs and move some lookup functions from PrGrammar to Lookup 2009-01-31 22:08:12 +00:00
krasimir
4f093feb49 refactor the GF.Grammar.Grammar syntax. The obsolete constructions are removed 2009-01-19 13:23: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
be9ff0cbca forced checking def definitions; accept pgf with no concretes 2008-10-05 15:21:08 +00:00
aarne
56c2c0e067 print full types instead of lock field heuristics in overload resolution if the heuristic is misleading 2008-10-03 18:18:21 +00:00
aarne
4b707dbf01 return error on undefined opers in instance and resource 2008-10-03 16:16:45 +00:00
aarne
279c0367d8 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne
b962c3a0d3 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
aarne
1302960992 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
c5c6d13546 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne
7d721eb16e removed src for 2.9 2008-06-25 16:43:48 +00:00
aarne
799fd2c3e5 finalizing experiments with Finnish nouns 2008-01-04 15:54:40 +00:00
aarne
eb10ccbe7c restored Int size and last ; added lib/prelude to be the last in any grammar path 2007-12-16 22:24:36 +00:00
aarne
16e52b231a partial check of dependencies with restricted inheritance 2007-11-08 23:34:45 +00:00
aarne
01bc4c138e the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out) 2007-10-21 10:01:14 +00:00
aarne
280493064c removing a trace 2007-10-12 08:42:52 +00:00
aarne
674dea6d57 check circularity in param 2007-10-12 08:37:57 +00:00
aarne
1d72f0b1f8 hacky solution to name resolution warnings 2007-07-05 14:08:58 +00:00
aarne
e2b6f56d17 contravariance in forgiving lock fields 2007-07-02 11:53:04 +00:00
aarne
f5b929acfc fixed the mysterious "file..gfc" error 2007-06-18 21:21:13 +00:00
aarne
d01dfff9d3 overload checking and messages; resource.txt modifs 2007-05-31 09:58:38 +00:00