aarne
cff2b7ff7f
removed the obsolete Overload modules
2008-08-19 13:54:25 +00:00
bjorn
a16b87f441
Use overloaded API in peace keeping grammar. Still not compiling, "no instance of mkS for Cl among ... Cl ... ?"
2008-08-19 14:35:45 +00:00
bjorn
7616c2ea23
removed some dead code from gflib.js
2008-08-19 14:08:02 +00:00
bjorn
5477222a4d
tweak ajax client html
2008-08-19 12:40:17 +00:00
bjorn
c43e5bf979
First version of ajax / fastcgi interface with completion.
2008-08-19 12:29:31 +00:00
bjorn
07e0449132
Remove src/server/grammar.pgf from the repo, use 'make food' if you want it.
2008-08-19 08:14:22 +00:00
bjorn
9f9bb2d5b7
Added parse and linearize functions to the fastcgi server. Some refactoring.
2008-08-19 08:13:51 +00:00
aarne
1510e08209
qualified a pattern in Constructors, preventing it to be taken as a variable
2008-08-19 07:56:21 +00:00
bjorn
6d0cdf3cda
Fix order in the cncnames list in unionPGF. It was made in reverse.
2008-08-19 07:40:45 +00:00
bjorn
6856723e48
Ajax: use onsubmit instead of onclick, to catch Firefox auto-submit-on-enter.
2008-08-18 20:56:30 +00:00
bjorn
8767009f7e
Ajax translator: copied iPhone viewport stuff from Aarne's JS translator, untested.
2008-08-18 20:28:22 +00:00
bjorn
33b71088ec
AJAX translator: update translation when the from or to language is changed.
2008-08-18 20:26:52 +00:00
bjorn
591c44f05b
Some peacekeeping clean-up, still far from compiling.
2008-08-18 20:22:25 +00:00
bjorn
018b8e2f0d
Include all languages in the demo pgf for the fastcgi server.
2008-08-18 20:21:02 +00:00
bjorn
ca667318cf
Sort languages in fastcgi /languages output.
2008-08-18 20:20:32 +00:00
bjorn
6360d3f473
Fixed bug in russian regular compartives. Predef.tk/dp have *really* confusing names, I don't think I ever got it right on the first try.
2008-08-18 19:05:46 +00:00
bjorn
4925580877
When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
...
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +00:00
bjorn
ae90af3211
Updated AJAX translator to make use of canParse and the fixed parseAllLangs.
2008-08-18 09:38:21 +00:00
bjorn
686dd71041
Cleaned up the Demo conrecte syntaxes now that they don't have to list the restricted inheritance. Added language codes.
2008-08-18 09:37:01 +00:00
bjorn
78cd216243
Added canParse function to the PGF API. Make parseAllLang and parseAll skip languages which don't have parsers, instead of always throwing exceptions when some language is missing a parser.
2008-08-18 09:26:24 +00:00
bjorn
5e1836d4f9
Added languageCode function to the PGF API.
2008-08-18 09:25:43 +00:00
bjorn
7743fee09c
Removed spurious lin foo = bar in DemoEng.
2008-08-18 08:58:11 +00:00
bjorn
c9983ac6b5
Updated resource grammar fle list in GF.cabal
2008-08-18 08:47:39 +00:00
bjorn
95cdaaf4c4
gfc can now combine PGF files.
2008-08-15 21:10:54 +00:00
bjorn
0f51f5187c
Added peacekeeping example back in. Doesn't compile yet.
2008-08-15 20:21:12 +00:00
aarne
65a25ad181
bronzeage grammar restored except for three ones with issues ; arabic transliteration added
2008-08-16 18:55:28 +00:00
aarne
b1b2e6766d
workaround in Spanish and French for a pgf compiler issue showing in pronArg
2008-08-16 12:29:04 +00:00
aarne
20fe8a8c20
improved error message in pgf compilation to help debugging
2008-08-16 12:27:59 +00:00
bjorn
e2f5add011
Added Makefile for fastcgi server.
2008-08-15 20:33:04 +00:00
bjorn
e121f8f4cf
Qualify PGF import in fastcgi server, to avoid hiding Language, which breaks with older cgi versions.
2008-08-15 20:31:23 +00:00
aarne
7df3c6ec72
numerals demo on the web
2008-08-15 15:28:09 +00:00
aarne
f56ad59698
examples of morphological synthesis/analysis as top-level grammars
2008-08-15 12:41:04 +00:00
bjorn
c00007c49e
Added a basic stylesheet for the js and ajax translators.
2008-08-15 11:46:36 +00:00
bjorn
310d7cc63a
JS translator: fixed typo, before a ul was produced instead of an li
2008-08-15 11:28:41 +00:00
bjorn
a4bc886a31
First working version of the AJAX translation client.
2008-08-15 11:14:13 +00:00
bjorn
c32be3e827
Change JS translation to replace existing output when a new translation is done.
2008-08-15 10:53:59 +00:00
aarne
8719bb9530
typo in AllHin corrected; excluded ReflA2 in Demo (not needed in concretes any more)
2008-08-14 20:30:17 +00:00
aarne
5368b95a45
added linearization of john_PN - hope it's right
2008-08-14 20:29:21 +00:00
aarne
1302960992
forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance)
2008-08-14 20:25:52 +00:00
bjorn
5939be16b8
Refactor js translator to be able to share some code with the ajax version.
2008-08-14 18:51:06 +00:00
bjorn
b8de42f050
Started working on an AJAX client for the fastcgi server.
2008-08-14 15:56:52 +00:00
bjorn
f29fac369e
Added /cats and /langs to fastcgi server.
2008-08-14 15:56:38 +00:00
bjorn
ca5a30b3f7
Print gf commands in Make.hs for debugging purposes.
2008-08-14 15:25:05 +00:00
aarne
0caebe9092
removed optStr from IdiomEng
2008-08-14 14:21:42 +00:00
aarne
ac6b028b1b
changed startcat from Phr to S in Demo
2008-08-14 14:17:27 +00:00
bjorn
4792a92eb5
Better error handlig in the GF FastCGi server.
2008-08-14 12:08:38 +00:00
bjorn
38d37c4149
Added first version of the GF FastCGI server.
2008-08-14 09:06:26 +00:00
bjorn
3aee461ec0
Added startcat flag to Demo.gf
2008-08-14 08:07:24 +00:00
bjorn
5245c1e2b7
Remove the grammars directory. It was full of old grammars that don't compile these days. See the old source distributions if you want them.
2008-08-14 07:58:04 +00:00
bjorn
664bc8f534
Added .PHONY to lib/resource/Makefile
2008-08-14 07:57:50 +00:00