krasimir
|
884db4c08c
|
added test grammar for literals in the testsuite
|
2010-01-04 13:51:36 +00:00 |
|
krasimir
|
0075e4bf60
|
some dead code is removed in the JavaScript interpreter
|
2010-01-04 13:47:58 +00:00 |
|
krasimir
|
c8fbc24906
|
literal categories in the JavaScript interpreter
|
2010-01-04 13:44:21 +00:00 |
|
krasimir
|
83ded542e9
|
fix the editor grammar
|
2010-01-04 12:36:49 +00:00 |
|
krasimir
|
838c4f9683
|
in gflib.js declare all variables with 'var' because otherwise they are global by default
|
2010-01-04 12:26:11 +00:00 |
|
krasimir
|
c891123026
|
in the javascript version of extractTrees filter out the duplicated parse trees
|
2010-01-04 12:20:53 +00:00 |
|
krasimir
|
dc2bf98294
|
bugfix in the javascript parser
|
2010-01-04 11:16:17 +00:00 |
|
krasimir
|
548d7e3209
|
js-runtime: redundant loop removed
|
2009-12-27 12:12:51 +00:00 |
|
krasimir
|
c6ac5df859
|
use object references instead of FunId and SeqId in the javascript parser
|
2009-12-27 11:03:39 +00:00 |
|
krasimir
|
1e3dacfd71
|
bugfix in the javascript parser
|
2009-12-27 10:46:29 +00:00 |
|
krasimir
|
212fb4d789
|
javascript editor with PMCFG parser. (not stable yet)
|
2009-12-21 13:41:51 +00:00 |
|
krasimir
|
1e592e20e6
|
reverse engineered version of the Editor grammar
|
2009-12-14 20:01:41 +00:00 |
|
krasimir
|
286e60c7dc
|
fix the directories in gf-server.cabal
|
2009-12-14 15:21:09 +00:00 |
|
krasimir
|
57d07a295a
|
use forward slash instead of back slash in GF.cabal
|
2009-12-14 14:32:55 +00:00 |
|
krasimir
|
7a449030b0
|
remove some more dead code
|
2009-12-14 13:11:58 +00:00 |
|
krasimir
|
76debee2c1
|
remove the old parsing code and the -erasing=on flag
|
2009-12-14 10:54:22 +00:00 |
|
krasimir
|
15ddc283d4
|
rename some modules that had GFCC in the name to PGF+something
|
2009-12-14 10:10:58 +00:00 |
|
krasimir
|
71e51e34c3
|
now the PGF to JavaScript convertor uses PMCFG
|
2009-12-14 09:53:53 +00:00 |
|
krasimir
|
c92f9d1c0c
|
reorganize the directories under src, and rescue the JavaScript interpreter from deprecated
|
2009-12-13 18:50:29 +00:00 |
|
krasimir
|
15305efa5a
|
rename #Var to __gfVar because it breaks the JavaScript editor
|
2009-12-13 15:29:26 +00:00 |
|
krasimir
|
7c2bce5779
|
judgements lindef are now respected by both the parser and the linearizer
|
2009-12-11 17:39:18 +00:00 |
|
krasimir
|
541aee6ae6
|
allow empty lines when reading with 'rf -lines -tree'
|
2009-12-10 18:45:10 +00:00 |
|
krasimir
|
8de29e2227
|
function read_file now reports errors if there is expression with parse or type error
|
2009-12-09 22:43:17 +00:00 |
|
krasimir
|
ee04ff6157
|
change the URL to the bug tracker
|
2009-12-07 15:22:26 +00:00 |
|
krasimir
|
234247b2bd
|
added mkMeta and isMeta in PGF
|
2009-12-05 10:12:03 +00:00 |
|
krasimir
|
65e9869f1a
|
fix the pattern matching in unStr, unInt, unDouble
|
2009-12-05 10:06:59 +00:00 |
|
krasimir
|
bfa926062a
|
more fixes in DictEng
|
2009-12-05 10:05:26 +00:00 |
|
krasimir
|
03ac7006c8
|
UK, US and USA should be with capital letters in DictEng
|
2009-12-03 21:46:01 +00:00 |
|
krasimir
|
0c8f581bcf
|
remove that_A and that_Adv also
|
2009-12-03 21:18:00 +00:00 |
|
krasimir
|
04d6a7addb
|
few more fake words in DictEng
|
2009-12-03 21:08:32 +00:00 |
|
krasimir
|
080f299483
|
remove some fake and some duplicated words from DictEngAbs and DictEng
|
2009-12-03 19:59:25 +00:00 |
|
krasimir
|
836e742ddf
|
TranslateApp now have browser for abstract syntax
|
2009-11-29 14:51:12 +00:00 |
|
krasimir
|
abe21f6fbb
|
function doListGrammars in PGFService is obsolete
|
2009-11-26 16:27:04 +00:00 |
|
krasimir
|
12d64654d7
|
the default function of the PGFService should return list of functions as well as list of categories
|
2009-11-26 14:47:35 +00:00 |
|
krasimir
|
b596086edf
|
change PGF.categories to return list of identifiers instead of types
|
2009-11-26 14:43:31 +00:00 |
|
krasimir
|
a01faec4f9
|
slight optimization in GF.Grammar.Lexer
|
2009-11-17 21:49:51 +00:00 |
|
krasimir
|
7f407e8e32
|
lookupResType should always return the precomputed CncFun type
|
2009-11-14 09:21:34 +00:00 |
|
krasimir
|
a2452fce56
|
bugfix: In AppPredefined.hs, PTrue and PFalse should be declared as constructors
|
2009-11-13 21:52:53 +00:00 |
|
krasimir
|
1c6d0ee306
|
add test case for typechecking of lincat
|
2009-11-13 10:28:37 +00:00 |
|
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
|
5a63f221d7
|
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
|
28e6c021e7
|
parteval -> partial evaluation
|
2009-11-12 20:12:59 +00:00 |
|
krasimir
|
1c4525d763
|
bugfix: GF.Compile.GrammarToGFCC should not strip the parameter values
|
2009-11-12 20:09:59 +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
|
8e623175a6
|
bugfix: if a concrete module has operations then they also should be optimized
|
2009-11-07 15:18:25 +00:00 |
|
krasimir
|
5b3eef5c1b
|
update testsuite/runtime/parser/Parse.hs
|
2009-11-02 16:31:32 +00:00 |
|
krasimir
|
fa187d2c30
|
update the testsuite
|
2009-10-28 18:07:49 +00:00 |
|
krasimir
|
52d99546e1
|
added test cases for cyrcular definitions
|
2009-10-28 17:59:18 +00:00 |
|
krasimir
|
83eca99da1
|
check for cyclic parameters, operations and dependent types
|
2009-10-28 17:44:50 +00:00 |
|
krasimir
|
3f006ab7d9
|
refactoring in GF.Grammar.Lookup
|
2009-10-28 17:10:43 +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
|
7656ff29b5
|
simplify the Term again
|
2009-10-27 15:45:05 +00:00 |
|
krasimir
|
f0ab7463e8
|
fix the compilation of MorphoService.hs
|
2009-10-27 09:10:50 +00:00 |
|
krasimir
|
6e0ed0f4d4
|
strip some redundant constructors from GF.Grammar.Grammar
|
2009-10-25 18:01:04 +00:00 |
|
krasimir
|
038b2c9f2d
|
small refactoring in GF.Compile.CheckGrammar
|
2009-10-25 15:20:44 +00:00 |
|
krasimir
|
98cf0ea180
|
add GF.Compile.Concrete.TypeCheck in GF.cabal
|
2009-10-25 13:10:24 +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
|
9c0b693aec
|
refactoring in GF.Compile.Optimize
|
2009-10-24 16:08:00 +00:00 |
|
krasimir
|
9412171621
|
integrate Polish in the build system
|
2009-10-24 12:32:03 +00:00 |
|
krasimir
|
73e1f0e81e
|
added tree visualizations in TranslateApp
|
2009-10-24 10:38:21 +00:00 |
|
krasimir
|
cc69abd7b6
|
expose the tree visualization via PGF API
|
2009-10-24 09:03:40 +00:00 |
|
krasimir
|
4f6bd2f1d6
|
add API modules for Polish
|
2009-10-23 15:34:09 +00:00 |
|
krasimir
|
4f8e32cb5d
|
use restricted inheritance in Polish
|
2009-10-23 15:00:24 +00:00 |
|
krasimir
|
604c6e44f2
|
fix typo
|
2009-10-23 12:16:29 +00:00 |
|
krasimir
|
4e7a5bb297
|
experimental robust parser
|
2009-10-23 08:35:32 +00:00 |
|
krasimir
|
fb60cc36d1
|
added smart constructors for types in PGF
|
2009-10-15 16:21:26 +00:00 |
|
krasimir
|
3cf44aaa74
|
make the GF server to compile after that changes in the PGF runtime
|
2009-10-15 11:32:25 +00:00 |
|
krasimir
|
d31e2fe040
|
bugfix in Setup.hs for Linux
|
2009-10-15 06:44:40 +00:00 |
|
krasimir
|
0b9c38569c
|
added start category S to Trigram.gf
|
2009-10-08 13:41:34 +00:00 |
|
krasimir
|
d920a0c53d
|
just for fun - grammar for trigram models in GF
|
2009-10-08 13:13:48 +00:00 |
|
krasimir
|
f607cd0108
|
remove duplicated function from GF.Grammar.Macros
|
2009-10-07 09:33:57 +00:00 |
|
krasimir
|
f89d582d3b
|
the Setup.hs script should build the prelude also
|
2009-10-07 08:34:32 +00:00 |
|
krasimir
|
7ba65bb0d4
|
fix the error message for overload resolution
|
2009-10-06 14:59:02 +00:00 |
|
krasimir
|
1a58e32362
|
hopefully the last revision of the relative paths handling algorithm
|
2009-10-06 10:27:34 +00:00 |
|
krasimir
|
d258b72719
|
another attempt to get the paths handling right
|
2009-10-05 14:58:13 +00:00 |
|
krasimir
|
da177ed66a
|
bugfix in extendPathEnv
|
2009-10-03 07:39:06 +00:00 |
|
krasimir
|
eae27821a0
|
update the testsuite
|
2009-10-03 06:52:14 +00:00 |
|
krasimir
|
f000f30714
|
merge GF.Grammar.API into GF.Grammar
|
2009-10-02 23:34:35 +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
|
f05088df54
|
fixes in the library for the implicit arguments syntax
|
2009-10-02 21:26:45 +00:00 |
|
krasimir
|
2732a7a22e
|
Implicit arguments in GF. Works only in PGF for now.
|
2009-10-02 13:25:12 +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
|
7c805b8ff7
|
rename MetaSymb in GF.Grammar.Grammar to MetaId to match the convention in PGF
|
2009-09-20 10:28:27 +00:00 |
|
krasimir
|
73e11a60c5
|
remove the Read instances from GF.Grammar.Grammar
|
2009-09-20 10:16:59 +00:00 |
|
krasimir
|
94068df3fb
|
rename Decl in GF.Grammar.Grammar to Hypo to match the convention in PGF
|
2009-09-20 10:15:39 +00:00 |
|
krasimir
|
1dfa67a30a
|
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
|
6549bd7caf
|
fix the least version number for the base package
|
2009-10-01 17:20:04 +00:00 |
|
krasimir
|
1455bca545
|
remove the fake word prava_N from DictBul.gf
|
2009-09-28 12:08:06 +00:00 |
|
krasimir
|
bb0be1e964
|
export the morphology API from PGF
|
2009-09-28 12:06:20 +00:00 |
|
krasimir
|
97d25fa6c8
|
fix the paths in DictXXX.gf
|
2009-09-27 18:17:31 +00:00 |
|
krasimir
|
dd1014d009
|
bugfix: the identifiers in the output of l -table should not be qualified
|
2009-09-25 08:53:27 +00:00 |
|
krasimir
|
b4f8f39f76
|
bugfix in the filterProds function
|
2009-09-23 06:32:24 +00:00 |
|
krasimir
|
b6a011c734
|
the pmcfg_pretty printer now prints the actual grammar used for parsing
|
2009-09-23 06:28:36 +00:00 |
|
krasimir
|
1e894281b7
|
remove the redundant complement fields in V2V and V2A
|
2009-09-22 08:08:54 +00:00 |
|
krasimir
|
eb139fd705
|
better error message for the ai command
|
2009-09-19 10:24:02 +00:00 |
|
krasimir
|
c09404ebc1
|
bugfix in PGF.TypeCheck
|
2009-09-19 10:21:26 +00:00 |
|
krasimir
|
fd63cdaeed
|
use the syntax <x : A> in PGF.Expr for typed expressions. This is consistent with the GF language
|
2009-09-19 10:16:37 +00:00 |
|
krasimir
|
2bb3229a84
|
command ai doesn't need typechecking from the shell
|
2009-09-18 14:43:04 +00:00 |
|