1
0
forked from GitHub/gf-core
Commit Graph

2117 Commits

Author SHA1 Message Date
krasimir
869621db66 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
712d079e7c inplace editing/parsing in the syntax editor 2010-01-07 10:38:43 +00:00
krasimir
5be5ee1ccd better tokenizer in the JavaScript runtime 2010-01-07 10:36:16 +00:00
krasimir
f0e6b15ec4 some dead code is removed in the JavaScript interpreter 2010-01-04 13:47:58 +00:00
krasimir
a73a64534e literal categories in the JavaScript interpreter 2010-01-04 13:44:21 +00:00
krasimir
93fd2333cc fix the editor grammar 2010-01-04 12:36:49 +00:00
krasimir
2e0d9f43b4 in gflib.js declare all variables with 'var' because otherwise they are global by default 2010-01-04 12:26:11 +00:00
krasimir
819e6e6757 in the javascript version of extractTrees filter out the duplicated parse trees 2010-01-04 12:20:53 +00:00
krasimir
36de4d8c54 bugfix in the javascript parser 2010-01-04 11:16:17 +00:00
aarne
34b839c0f9 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
b92c34bafd js-runtime: redundant loop removed 2009-12-27 12:12:51 +00:00
krasimir
0a0c7ac4fc use object references instead of FunId and SeqId in the javascript parser 2009-12-27 11:03:39 +00:00
krasimir
4e6f6b2de2 bugfix in the javascript parser 2009-12-27 10:46:29 +00:00
krasimir
eb373d74ab javascript editor with PMCFG parser. (not stable yet) 2009-12-21 13:41:51 +00:00
aarne
a4eb1800a4 correct capitalization in unlexmixed; unlextext and unlexmixed now remove string literal quotes 2009-12-17 21:17:46 +00:00
aarne
6a130d2e86 one step deeper into records in PGF generation 2009-12-16 16:25:52 +00:00
hallgren
3d939a9500 Update version number 3.0 to 3.1 in a number of places 2009-12-15 15:27:26 +00:00
krasimir
e7dcbcc825 reverse engineered version of the Editor grammar 2009-12-14 20:01:41 +00:00
krasimir
4d4b618c93 fix the directories in gf-server.cabal 2009-12-14 15:21:09 +00:00
krasimir
02f5b44783 remove some more dead code 2009-12-14 13:11:58 +00:00
krasimir
c036459214 remove the old parsing code and the -erasing=on flag 2009-12-14 10:54:22 +00:00
krasimir
faa638d6fc rename some modules that had GFCC in the name to PGF+something 2009-12-14 10:10:58 +00:00
krasimir
a7811d1199 now the PGF to JavaScript convertor uses PMCFG 2009-12-14 09:53:53 +00:00
krasimir
f85232947e reorganize the directories under src, and rescue the JavaScript interpreter from deprecated 2009-12-13 18:50:29 +00:00
krasimir
d88a865faf rename #Var to __gfVar because it breaks the JavaScript editor 2009-12-13 15:29:26 +00:00
aarne
b5a541e65a unicode encoding in quiz questions fixed 2009-12-13 18:51:20 +00:00
krasimir
5804db9816 judgements lindef are now respected by both the parser and the linearizer 2009-12-11 17:39:18 +00:00
krasimir
d3b179eeed allow empty lines when reading with 'rf -lines -tree' 2009-12-10 18:45:10 +00:00
krasimir
fae0ade020 function read_file now reports errors if there is expression with parse or type error 2009-12-09 22:43:17 +00:00
aarne
0bafd45952 making Arabic minimal compile; strange chars remain 2009-12-08 07:32:46 +00:00
krasimir
5fd6227314 change the URL to the bug tracker 2009-12-07 15:22:26 +00:00
aarne
7f47802cd2 Constructors.str2numeral for making numerals from strings 2009-12-07 10:29:53 +00:00
krasimir
8798ff76f9 added mkMeta and isMeta in PGF 2009-12-05 10:12:03 +00:00
krasimir
e06c7da79b fix the pattern matching in unStr, unInt, unDouble 2009-12-05 10:06:59 +00:00
aarne
cec6c8ed97 abstracts, literals, and variables in tree visualization 2009-12-01 09:55:01 +00:00
krasimir
991a58badb TranslateApp now have browser for abstract syntax 2009-11-29 14:51:12 +00:00
krasimir
2c54ad525e function doListGrammars in PGFService is obsolete 2009-11-26 16:27:04 +00:00
krasimir
d7fba06bda 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
ba1b602053 change PGF.categories to return list of identifiers instead of types 2009-11-26 14:43:31 +00:00
aarne
6b0a662c35 restored a parsing grammar api/Browse 2009-11-20 15:14:41 +00:00
krasimir
0ddf8ff18d slight optimization in GF.Grammar.Lexer 2009-11-17 21:49:51 +00:00
aarne
e91cd9c832 Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
aarne
dcc2888faf command vt -mk for displaying overload-style function names 2009-11-15 20:03:28 +00:00
krasimir
4c17b7ba95 lookupResType should always return the precomputed CncFun type 2009-11-14 09:21:34 +00:00
krasimir
ee97e0b963 bugfix: In AppPredefined.hs, PTrue and PFalse should be declared as constructors 2009-11-13 21:52:53 +00:00
krasimir
36d025877b for 'lincat C = T' the typechecker should check that T is a valid type 2009-11-13 10:25:31 +00:00
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
3aa208dd2b parteval -> partial evaluation 2009-11-12 20:12:59 +00:00
krasimir
3d838e0172 bugfix: GF.Compile.GrammarToGFCC should not strip the parameter values 2009-11-12 20:09:59 +00:00
aarne
6898667b3e questions, relatives, numerals - most of Dutch syntax soon in place 2009-11-11 20:34:09 +00:00