bjorn
|
7a2ef0bb09
|
Make GWT compilation easier.
|
2008-10-22 13:29:57 +00:00 |
|
bjorn
|
245e1b3300
|
Remove compiled GWT stuff.
|
2008-10-22 13:28:33 +00:00 |
|
bjorn
|
ecf391ee87
|
gf-server: preliminary Ubuntu instructions
|
2008-10-22 12:36:13 +00:00 |
|
bjorn
|
4685919ac3
|
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
|
5dbace4cc2
|
Rename the GWT Translate module to PGF. Rename the GF class to PGF.
|
2008-10-22 12:05:59 +00:00 |
|
bjorn
|
2aa899a5ff
|
Change GWT compilation scripts to make it easier to change the GWT dir location.
|
2008-10-22 11:19:12 +00:00 |
|
bjorn
|
dea941eea9
|
New compiled GWT stuff.
|
2008-10-22 09:37:06 +00:00 |
|
bjorn
|
acdcd57fa6
|
Reorganize GWT stuff into a reusable module and one application module.
|
2008-10-22 09:36:05 +00:00 |
|
bjorn
|
6633ae71f1
|
gf-server: move some general stuff to FastCGIUtils
|
2008-10-20 15:17:57 +00:00 |
|
bjorn
|
d327d9da6c
|
Added --parser=ondemand flag.
|
2008-10-20 14:52:50 +00:00 |
|
bjorn
|
6b8c9dd4c9
|
Added PGF.Macros.mapConcretes
|
2008-10-20 14:51:42 +00:00 |
|
bjorn
|
05343e78a9
|
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
|
5cbc5aeb9d
|
Added new generated GWT output.
|
2008-10-20 13:30:01 +00:00 |
|
bjorn
|
66397a454d
|
Removed the flag icons from the GWT client.
|
2008-10-20 13:23:40 +00:00 |
|
bjorn
|
9b8f50534c
|
Update gf-server instructions and configuration.
|
2008-10-20 12:56:08 +00:00 |
|
bjorn
|
cec2b61af0
|
Drop -beta2 from version in GF.cabal. It confuses cabal-install.
|
2008-10-20 12:49:18 +00:00 |
|
bjorn
|
88eed35c18
|
Reorganize PGF export list to get easier to read haddock.
|
2008-10-20 12:10:42 +00:00 |
|
bjorn
|
617c707a77
|
Update gf-server to compile with changed PGF API.
|
2008-10-20 12:07:05 +00:00 |
|
bjorn
|
d41616dd6a
|
Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage.
|
2008-10-20 11:59:31 +00:00 |
|
bjorn
|
2174690c5e
|
Added Read and Show instances for Type. This required moving some code around.
|
2008-10-20 11:36:17 +00:00 |
|
bjorn
|
a26290659d
|
Replace Category with Type in the PGF API. Added readLanguage and showLanguage.
|
2008-10-20 11:35:05 +00:00 |
|
bjorn
|
072f19212f
|
Added 'run' target to gf-server Makefile. It compiles the server, and starts lighttpd.
|
2008-10-20 08:46:32 +00:00 |
|
bjorn
|
e6d7e5e97f
|
Added compiled GWT code to repo.
|
2008-10-20 08:45:42 +00:00 |
|
bjorn
|
a11ccb9cd8
|
gf-server: New URL format: /grammar.pgf/command
|
2008-10-20 08:45:00 +00:00 |
|
bjorn
|
ee08605aee
|
lighttpd.conf tweak
|
2008-10-20 08:43:23 +00:00 |
|
bjorn
|
d205011470
|
fastcgi: better grammar cache implementation: don't deadlock on exceptions
|
2008-10-20 08:24:01 +00:00 |
|
bjorn
|
0205f341f5
|
(fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars.
|
2008-10-17 14:12:53 +00:00 |
|
bjorn
|
a6c4747b11
|
lighttpd.conf: use default server.event-handler = "select"
|
2008-10-17 12:57:52 +00:00 |
|
bjorn
|
48a031db98
|
gf-server-jsapi: clean up old callbacks
|
2008-10-17 12:57:34 +00:00 |
|
bjorn
|
feb3e84fb5
|
Don't include parsers for Ger, Dan, Nor in server/demo.pgf and server/lang.pgf
|
2008-10-17 12:41:48 +00:00 |
|
bjorn
|
411326de31
|
Fixed URL in gwt-client/Translate-shell-external to work with lighttpd
|
2008-10-17 12:41:19 +00:00 |
|
bjorn
|
0eaef4a5b5
|
Use JSON-P in gf-server-jsapi.js
|
2008-10-17 11:14:46 +00:00 |
|
bjorn
|
3df821efd7
|
Added JSON-P support to fastcgi server.
|
2008-10-17 10:49:34 +00:00 |
|
bjorn
|
1a098d3d7a
|
Delete gf.fcgi in src/server/Makefile.
|
2008-10-17 10:05:29 +00:00 |
|
bjorn
|
44eeb7a0f7
|
A bunch of changes that make it easy to run the gf server with lighttpd
|
2008-10-16 13:39:09 +00:00 |
|
bjorn
|
f211fc10ca
|
Multithreaded gf.fcgi.
|
2008-10-16 13:00:44 +00:00 |
|
bjorn
|
11ba8a6a17
|
server/makefile added test.pgf target.
|
2008-10-16 13:00:16 +00:00 |
|
bjorn
|
95278a947f
|
Export list in GF.Compile.GetGrammar
|
2008-10-16 12:59:40 +00:00 |
|
bjorn
|
bb25c86ae5
|
Copy command-line flags to in-memory module when reading from a .gfo file. This maeans that command-line flags get put in the .pgf file.
|
2008-10-16 11:58:18 +00:00 |
|
bjorn
|
176dc3e730
|
In shell "p" command, only try languages that have a parser.
|
2008-10-16 11:33:09 +00:00 |
|
bjorn
|
b0351dc653
|
build pgf files in src/server with erasing parsing
|
2008-10-16 11:27:12 +00:00 |
|
bjorn
|
f0f4948f5b
|
Allow giving .gfo files as gfc command-line arguments.
|
2008-10-16 10:33:23 +00:00 |
|
bjorn
|
d10c8bd20a
|
Removed on-demand parser generation from the PGF interpreter.
|
2008-10-16 10:18:54 +00:00 |
|
bjorn
|
dc3f283344
|
Moved parser building in the PGF interpreter to PGF.hs from PGF/Raw/Convert.hs, in preparation for doing something more clever about it (e.g. looking at the parser flag).
|
2008-10-16 10:13:25 +00:00 |
|
bjorn
|
8726886298
|
A bit more verbosity when combining PGF files. Use putPointE when writing output files.
|
2008-10-16 10:12:57 +00:00 |
|
bjorn
|
d1633b98d0
|
Honor --erasing flag from command-line also when compiling existing .gfo to PGF.
|
2008-10-16 08:27:43 +00:00 |
|
bjorn
|
5422eb54d9
|
code tweak: use Map.findWithDefault in PGF.Macros.lookMap
|
2008-10-16 08:22:04 +00:00 |
|
bjorn
|
7676ab8e00
|
Copy command-line options to module flags when compiling to .gfo.
|
2008-10-15 14:24:23 +00:00 |
|
bjorn
|
849642e9dd
|
Merge ModuleOptions and Options.
|
2008-10-15 11:55:18 +00:00 |
|
bjorn
|
1ecb4f63e9
|
Added OPTIONS class to make options handling somewhat nicer. Next, I will merge Flags and ModuleFlags.
|
2008-10-15 11:38:34 +00:00 |
|
bjorn
|
dc2d0f0df4
|
Added PGF.TypeCheck to .cabal.
|
2008-10-15 09:05:37 +00:00 |
|
bjorn
|
88798b2a23
|
Added option to treat some categories as lexical when generating Haskell data types.
|
2008-10-10 11:55:12 +00:00 |
|
bjorn
|
5bc73e10bc
|
Merge mine and aarne's variants linearization changes.
|
2008-10-03 09:53:25 +00:00 |
|
bjorn
|
59cb392bda
|
Don't build FV terms if there is exactly one variant.
|
2008-10-03 08:18:24 +00:00 |
|
bjorn
|
07b3870699
|
Fixed variants semantics in PGF linearization to expand make variants of argument lists, to get things like Auto/Wagen gender right.
|
2008-10-03 07:53:37 +00:00 |
|
bjorn
|
1e8699d159
|
Added | syntax for variants.
|
2008-10-03 07:35:26 +00:00 |
|
bjorn
|
b7fe4eacc9
|
Handle concatenations with variants in PGF.ShowLinearize, fixes http://trac.haskell.org/gf/ticket/23
|
2008-10-03 07:16:39 +00:00 |
|
bjorn
|
fa69bd8ab3
|
Regenerate source GF parser from GF.cf. Now, when GF/Source/Makefile is used, no hand-hacking is needed.
|
2008-10-02 14:11:41 +00:00 |
|
bjorn
|
9e501521b4
|
Added src/GF/Source/Makefile for regenerating the GF source parser from GF.cf.
|
2008-10-02 13:42:24 +00:00 |
|
bjorn
|
86a30ef992
|
Converted GF/Source/*.hs to Unix line endings, to be able to see what happens when I regenerated the files.
|
2008-10-02 13:23:54 +00:00 |
|
bjorn
|
8fb068df6a
|
Fail more gracefully on unknown file name extensions.
|
2008-10-02 12:32:03 +00:00 |
|
bjorn
|
203430ae6d
|
Use parantheses for precedence in pgf-pretty lincats.
|
2008-09-30 12:02:58 +00:00 |
|
bjorn
|
446aa1b5db
|
Added --cfg option for specifying which CFG transformations to use. Added startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr".
|
2008-09-30 11:52:11 +00:00 |
|
bjorn
|
794fbd4a41
|
Fixed CFG start cats for categories with more than one constituent.
|
2008-09-30 10:53:36 +00:00 |
|
bjorn
|
3ca6c605b0
|
Use filtering in regular printer.
|
2008-09-30 09:39:09 +00:00 |
|
bjorn
|
41c95825f3
|
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
|
2008-09-30 09:32:16 +00:00 |
|
bjorn
|
8716e48c21
|
pgf-pretty: remove single field record lincat hack. handle f "" (S []) correctly.
|
2008-09-30 09:31:31 +00:00 |
|
bjorn
|
664bebf5ce
|
Some pgf-pretty fixes, including note by Peter about W "apa" (S []).
|
2008-09-30 07:24:01 +00:00 |
|
bjorn
|
ba321be3ff
|
Added pgf-pretty output-format
|
2008-09-26 15:21:32 +00:00 |
|
bjorn
|
0f4e8468be
|
Added isLiteralCat function to PGF.Macros.
|
2008-09-26 15:04:13 +00:00 |
|
bjorn
|
804232aebc
|
Added 'complete' function to the PGF API. This is a higher-level API to the completion functionality.
|
2008-09-26 13:17:21 +00:00 |
|
bjorn
|
b0dde31f00
|
Added semantic interpretation tag printing to the *bnf grammar printers.
|
2008-09-26 12:57:20 +00:00 |
|
bjorn
|
2f3b7d1c55
|
Use ebnf format for "regular" output-format.
|
2008-09-26 10:20:18 +00:00 |
|
bjorn
|
7a81b559fe
|
Changed nolr printer to use EBNF format.
|
2008-09-26 10:03:42 +00:00 |
|
bjorn
|
a372357adc
|
ebnf printer: print external cats first.
|
2008-09-26 09:58:57 +00:00 |
|
bjorn
|
86e94e3b1b
|
bnf and ebnf printer: align ::= symbols.
|
2008-09-26 09:54:09 +00:00 |
|
bjorn
|
a4ded76aa3
|
SRG category renaming: don't count the external cats when calculating indices.
|
2008-09-26 09:44:02 +00:00 |
|
bjorn
|
d1a2cdb948
|
Changed SRG category renaming to use GF cat + index among CFG cats for that GF cat, instead of the old Concrete syntax name + index among all CFG cats.
|
2008-09-26 09:39:48 +00:00 |
|
bjorn
|
65f302bb84
|
Oops, I accidentally disabled all CFG simplification and LR-removal with the ENBF printing patch.
|
2008-09-26 09:39:04 +00:00 |
|
bjorn
|
1bcffdce30
|
Change category naming in CFG generation: the number now starts from 1 for each GF category, instead of being the FCFG category number.
|
2008-09-26 09:28:03 +00:00 |
|
bjorn
|
92c76a6265
|
Added --output-format=ebnf.
|
2008-09-26 09:20:39 +00:00 |
|
bjorn
|
8fa99886b3
|
In CFG generation: don't add linrow number if the lincat has only a single constituent.
|
2008-09-26 09:06:52 +00:00 |
|
bjorn
|
b114cfda77
|
Added --output-format=nolr. Minor makeRegular refactoring.
|
2008-09-25 13:41:07 +00:00 |
|
bjorn
|
13191ac155
|
Added --output-format=regular.
|
2008-09-25 11:49:00 +00:00 |
|
bjorn
|
7a5e2a15bd
|
Fixe copy-paste error: srgs_abnf_nonrec produced xml, fixed now.
|
2008-09-25 11:36:04 +00:00 |
|
bjorn
|
cc7173a034
|
Somewhat nicer FCFG output format.
|
2008-09-25 08:44:23 +00:00 |
|
bjorn
|
cdc647e788
|
Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else.
|
2008-09-25 08:41:49 +00:00 |
|
bjorn
|
34c5617ef6
|
Got SRGS ABNF generation to compile.
|
2008-09-23 12:56:25 +00:00 |
|
bjorn
|
75df5cf443
|
Added srgs_abnf_nonrec grammar printer to GF.Infra.Options.
|
2008-09-23 12:44:17 +00:00 |
|
bjorn
|
e5779fc594
|
Re-added old PrSRGS_ABNF (does not compile yet).
|
2008-09-23 12:41:44 +00:00 |
|
bjorn
|
4862018f14
|
GWT: somewhat nicer iterable() hack.
|
2008-09-22 10:11:15 +00:00 |
|
bjorn
|
0031276944
|
Added iterable() method for nicer iteration through GF method results. (GWT)
|
2008-09-21 20:37:27 +00:00 |
|
bjorn
|
e9f915ba9c
|
Fixed gf-morpho-server.cabal name typo. Added basic README for morpho server.
|
2008-09-18 20:12:01 +00:00 |
|
bjorn
|
0fdf2ceea2
|
GWT: disable translation until the language info has been loaded from the server,
|
2008-09-17 13:25:08 +00:00 |
|
bjorn
|
6fab2a64f4
|
GWT: update to use new /grammar resource. Select from language based on Accept-Language header.
|
2008-09-17 13:04:10 +00:00 |
|
bjorn
|
c99ce1fd0d
|
fastcgi: rename /info to /grammar
|
2008-09-17 12:42:05 +00:00 |
|
bjorn
|
db6ff30694
|
fastcgi: replace /categories, /languages and /mylanguage with /info.
|
2008-09-17 12:37:34 +00:00 |
|
bjorn
|
417ada31f5
|
fastcgi server: add /mylanguage resource, which selects the language that best matches the Accept-language header.
|
2008-09-17 12:22:17 +00:00 |
|
bjorn
|
50e600763f
|
GWT: comment out flag icon stuff in CSS.
|
2008-09-17 11:40:35 +00:00 |
|
bjorn
|
b06039634e
|
Towards looking at the locale for default language. Added flag icons.
|
2008-09-17 10:12:36 +00:00 |
|