1
0
forked from GitHub/gf-core
Commit Graph

3637 Commits

Author SHA1 Message Date
bjorn
fa061ce136 Replace PGF.Raw with PGF.Binary in the executable section of GF.cabal 2008-10-29 09:46:46 +00:00
bjorn
2c2a8a51e3 Changed gflib.js to handle linearization of literals. This duplicates some functionality from gfjseditor.js, but is required for the translator to be able to linearize literals. The editor should be fixed to remove the special code for literals, but it is a bit to much for me to understand right now. 2008-10-29 09:33:58 +00:00
bjorn
4dd05f663b JS parser: remove empty tokens after lexing. This fixes a problem where a string with leading space couldn't be parsed. 2008-10-29 08:39:23 +00:00
aarne
d5e0ffc5d7 smart consonant duplication in ParadigmsEng 2008-10-29 08:56:36 +00:00
krasimir
a977b48b1e even more compact binary representation. saldo < 19MB 2008-10-28 16:54:46 +00:00
krasimir
0762bd40ea Data.Binary should use Data.ByteString.copy when decoding ByteStrings 2008-10-28 16:43:00 +00:00
krasimir
44391a9125 remove some traces that I left by incident 2008-10-28 16:31:30 +00:00
aarne
3204702619 German Attempto - lots of words to check 2008-10-28 16:15:13 +00:00
krasimir
a35919542f remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
krasimir
5e23cece4b forgot to add PGF.Binary 2008-10-28 15:40:10 +00:00
aarne
e26383f7ca notpresent flags in French auxiliaries 2008-10-28 15:33:57 +00:00
aarne
61c16c7b34 Attempto in French ; not correct for mode in "il n'est pas possible que..." etc 2008-10-28 15:33:02 +00:00
aarne
4f327ca357 part of Attempto controlled language in English and Swedish 2008-10-28 14:05:55 +00:00
aarne
7408089e29 fixes in next resource needed for Attempto 2008-10-28 14:05:11 +00:00
krasimir
e44448bad0 binary serialization for PGF 2008-10-28 13:57:10 +00:00
bjorn
d61f6f1085 GWT: better heuristics for when to ask the server for completions. 2008-10-28 12:59:00 +00:00
bjorn
7ef019b006 GWT completion: only return request.getLimit() results to the SuggestBox. Re-request completions from the server if there is only one completion. 2008-10-28 12:37:52 +00:00
bjorn
76931b40fb Changed PGF.complete to include the given input if it can be parsed as a complete tree. 2008-10-28 12:28:46 +00:00
krasimir
8a4cb6ba1d define Read and Show instances for Expr and Tree 2008-10-28 12:22:34 +00:00
bjorn
12a17a7e81 GWT: Hold on to the previous suggestions, and try filtering them before asking the server. 2008-10-27 21:51:54 +00:00
bjorn
938340aed3 GWT: added IterableJsArray.isEmpty(). 2008-10-27 10:18:21 +00:00
aarne
cbb38747f8 missing case in PGF generation 2008-10-27 09:24:33 +00:00
krasimir
799c915170 fix typo 2008-10-25 20:44:04 +00:00
krasimir
c641cdedb9 Windows fix: the default coding isn't utf8 but the current system codepage. The se command changes the codepage as well as the coding 2008-10-25 20:26:48 +00:00
krasimir
96e39ced12 add cp1252. usefull for Swedish and German 2008-10-25 20:25:09 +00:00
krasimir
4fe931c67f extend the cp1251 coding to cover all cyrillic letters 2008-10-25 20:22:06 +00:00
bjorn
93b4d6a398 GWT: hide stale suggestions. 2008-10-24 14:22:19 +00:00
bjorn
bc255b3a7f GWT code import tweak. 2008-10-24 14:00:24 +00:00
bjorn
a984aaa9cb More GWT refactoring. 2008-10-24 08:45:34 +00:00
bjorn
c02d577cde Added Eclipse project stuff for the GWT library. Some refactoring of the GWT code. 2008-10-23 11:51:52 +00:00
bjorn
807a314063 Added PGF.parse method to GWT client. 2008-10-22 19:59:43 +00:00
bjorn
c205b867be Some refactoring of the GWT translator. 2008-10-22 19:37:57 +00:00
krasimir
c658f4057e fix the word completion in the shell 2008-10-22 11:27:01 +00:00
krasimir
b303201200 fix a typo. It is option "-cat" not "-type" 2008-10-22 09:36:50 +00:00
bjorn
252ae4cb31 Make GWT compilation easier. 2008-10-22 13:29:57 +00:00
bjorn
94b8b451df Remove compiled GWT stuff. 2008-10-22 13:28:33 +00:00
bjorn
161cb67082 gf-server: preliminary Ubuntu instructions 2008-10-22 12:36:13 +00:00
bjorn
622dc8fbaf Recompiled GWT code. I should drop the compiled code from the repo soon, this is getting tedious. 2008-10-22 12:07:04 +00:00
bjorn
22c271ad70 Rename the GWT Translate module to PGF. Rename the GF class to PGF. 2008-10-22 12:05:59 +00:00
bjorn
792752c382 Change GWT compilation scripts to make it easier to change the GWT dir location. 2008-10-22 11:19:12 +00:00
bjorn
a28183ef01 New compiled GWT stuff. 2008-10-22 09:37:06 +00:00
bjorn
e21f64ab09 Reorganize GWT stuff into a reusable module and one application module. 2008-10-22 09:36:05 +00:00
krasimir
c72ee23d85 efficient and nicer implementation for literal categories 2008-10-21 14:30:36 +00:00
bjorn
7ae8c798e9 gf-server: move some general stuff to FastCGIUtils 2008-10-20 15:17:57 +00:00
krasimir
16dacfdd45 the literal categories were slowing down the parser 3 times. this is quick and dirty workaround until I find something cleverer. 2008-10-20 15:38:59 +00:00
bjorn
5b5b91eb0a Added --parser=ondemand flag. 2008-10-20 14:52:50 +00:00
bjorn
aed72e7653 Added PGF.Macros.mapConcretes 2008-10-20 14:51:42 +00:00
bjorn
e5a595567a Added on-demand parser generation back in. It's pretty unproblematic, and can help with memory use in some cases. 2008-10-20 14:05:39 +00:00
bjorn
d6ef31ada2 Added new generated GWT output. 2008-10-20 13:30:01 +00:00
bjorn
b5756f322f Removed the flag icons from the GWT client. 2008-10-20 13:23:40 +00:00