1
0
forked from GitHub/gf-core
Commit Graph

178 Commits

Author SHA1 Message Date
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
7a169dd586 clean up the GF.Grammar API 2009-09-14 16:23:23 +00:00
krasimir
9cebd25eac Use GF.Grammar.Printer everywhere instead of PrGrammar 2009-09-14 15:13:11 +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
krasimir
be4ed7ff0a let the GF.Grammar.Printer printer output the unicode symbols directly 2009-08-18 07:09:41 +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
aarne
3d339d38a5 fixed pre expressions, parsing {} patterns, and the path in resource Make.hs 2009-05-25 12:19:32 +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
aarne
3583561492 pattern macros: oper f : pattern T = # p ; used as #f in patterns 2009-05-18 15:01:18 +00:00
aarne
dde36ed01c new pre syntax (as alternative): pre {"o" | "i" => "an" ; _ => "a"} 2009-05-15 16:45:16 +00:00
aarne
0bfa52e442 warning for overshadowed patterns, temporal solution 2009-04-06 14:07:22 +00:00
krasimir
d7c9c716fb raise better error message when decode GFO file 2009-04-02 13:29:03 +00:00
aarne
14f606449c examples of file conversion with ps 2009-03-28 13:41:29 +00:00
krasimir
72f4165fae add the compiled Haskell sources for Parser and Lexer 2009-03-17 08:49:06 +00:00
krasimir
6cdb1fcb06 incomplete support for record types in the abstract syntax 2009-03-16 14:41:49 +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
fe5afb1cd1 export ppLabel from GF.Grammar.Printer 2009-03-15 18:52:27 +00:00
krasimir
26e86f13dc code cleanup in the typechecker 2009-03-15 17:33:14 +00:00
krasimir
40089ae62d fix typo cs1 -> c2. the whole typechecker was broken before that 2009-03-14 21:02:17 +00:00
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
krasimir
0296492f9d Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +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
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
042739d747 pretty printing of qualified identifiers 2009-01-23 06:11:41 +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
666184ca64 removed dependencies of Zipper and editor in GF grammar compiler 2008-12-08 14:25:11 +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
65aefea2d6 fixed a bug with type checking function types 2008-11-18 10:58:50 +00:00
bjorn
f898c7543d Copy command-line options to module flags when compiling to .gfo. 2008-10-15 14:24:23 +00:00
aarne
56173a9fdb enable matching of ++ strings with regular patterns 2008-09-09 06:36:36 +00:00
aarne
2efc33329e treatment of Int: not always PredefAbs but can be PredefCnc 2008-09-03 09:33:37 +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
a65be9ef42 fixing number of interrogatives in English Structural 2008-05-29 16:16:19 +00:00