Commit Graph

2667 Commits

Author SHA1 Message Date
krasimir
a04cbcfb63 now the abstract syntax in PGF allows the same syntax for integers, floats and strings as in Haskell. This includes negative integers and exponents in the floats 2010-01-15 21:13:46 +00:00
krasimir
2b6eaf6f11 inplace editing/parsing in the syntax editor 2010-01-07 10:38:43 +00:00
krasimir
de615a3392 better tokenizer in the JavaScript runtime 2010-01-07 10:36:16 +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
aarne
ab0eaa7b62 morpho analysis with -missing flag, shows words outside lexicon; also invoked if parsing fails; also added pg -words to show the list of words 2009-12-31 11:02:26 +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
aarne
4e28be6958 correct capitalization in unlexmixed; unlextext and unlexmixed now remove string literal quotes 2009-12-17 21:17:46 +00:00
aarne
24f6f9181a one step deeper into records in PGF generation 2009-12-16 16:25:52 +00:00
hallgren
9fc30c11df Update version number 3.0 to 3.1 in a number of places 2009-12-15 15:27:26 +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
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
aarne
a6d9bc3126 unicode encoding in quiz questions fixed 2009-12-13 18:51:20 +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
aarne
076643c4e1 making Arabic minimal compile; strange chars remain 2009-12-08 07:32:46 +00:00
krasimir
ee04ff6157 change the URL to the bug tracker 2009-12-07 15:22:26 +00:00
aarne
c3263ea25d Constructors.str2numeral for making numerals from strings 2009-12-07 10:29:53 +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
aarne
bb41907a4d abstracts, literals, and variables in tree visualization 2009-12-01 09:55:01 +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
aarne
29406fa916 restored a parsing grammar api/Browse 2009-11-20 15:14:41 +00:00
krasimir
a01faec4f9 slight optimization in GF.Grammar.Lexer 2009-11-17 21:49:51 +00:00
aarne
8ed9fe442d Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
aarne
70308bb549 command vt -mk for displaying overload-style function names 2009-11-15 20:03:28 +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
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
aarne
454dc5dd54 questions, relatives, numerals - most of Dutch syntax soon in place 2009-11-11 20:34:09 +00:00