bringert
|
289618b81f
|
lighttpd conf tweak.
|
2008-11-20 16:49:12 +00:00 |
|
bringert
|
9167185d21
|
Include MachDeps.h in Data/Binary.hs, since it uses WORD_SIZE_IN_BITS. Without this, the Binary Word instance would be wrong on 64-bit machines.
|
2008-11-19 20:30:57 +00:00 |
|
bringert
|
57fbca2133
|
Merge SyntaxEng.mkOrd and ParadigmsEng.mkOrd in TryEng.
|
2008-11-19 14:16:28 +00:00 |
|
bringert
|
9fab68709c
|
Some lighttpd config fixes for the gwt translator.
|
2008-10-29 14:45:15 +00:00 |
|
bringert
|
7f4ba6333c
|
Better way of building gf-gwt.jar.
|
2008-10-29 14:02:58 +00:00 |
|
bringert
|
15314fda12
|
GWT: Some changes to compilation scripts to run on linux.
|
2008-10-29 13:55:00 +00:00 |
|
bringert
|
ff39552e41
|
gfc command now looks for gf executable in the same directory
|
2008-08-12 14:11:17 +00:00 |
|
bringert
|
f439895ef9
|
Added GF.GFCC.Macros.lookStartCat. Changed GF.GFCC:API to use it (before, startCat always returned "S"!). GFCCtoJS has not been changed, Moises will do that.
|
2008-04-07 15:57:04 +00:00 |
|
bringert
|
898c079d84
|
GF.GFCC.API is for .gfcc, not.gfcm
|
2008-04-07 15:40:41 +00:00 |
|
bringert
|
10a9e25ceb
|
Better names for the parsing info components in GFCC.
|
2008-01-09 13:51:21 +00:00 |
|
bringert
|
ad355515b0
|
Change "proj" to "P" in GFCC parse rules to save space.
|
2008-01-07 21:31:45 +00:00 |
|
bringert
|
ff9e6404b8
|
Replace BNFC-generated PrintGFCCRaw with smaller hand-written one.
|
2008-01-07 21:31:05 +00:00 |
|
bringert
|
238dba6264
|
Remove LexGFCCRaw from GF-embed.cabal
|
2008-01-04 22:01:13 +00:00 |
|
bringert
|
90e8f433cf
|
Replace BNFC-generated GFCC-parser with a faster and smaller combinator version.
|
2008-01-04 17:42:28 +00:00 |
|
bringert
|
934d4dbd7c
|
Oops, I happend to record a temporary change for testing combinator parsing on GFCC. Reverting that.
|
2008-01-04 15:00:58 +00:00 |
|
bringert
|
a68b2850e7
|
Added -noparse flag to gfc. In the process, I refactored GF.Devel.GFC and GF.Command.Importing to use a common source to gfcc compilation function in the new module GF.Compile.API.
|
2008-01-04 14:51:20 +00:00 |
|
bringert
|
af1a3a2473
|
Store FCFPInfo (all information needed for FCFG parsing) in GFCC files, and in the internal DataGFCC.GFCC structure. The parsing information format is still in flux.
|
2008-01-03 17:10:05 +00:00 |
|
bringert
|
6eb575d55c
|
update syntax.txt with the flags and grammar name changes
|
2007-12-21 17:26:41 +00:00 |
|
bringert
|
093633a216
|
Merge abstract and global flags and put them at the top level in GFCC files.
|
2007-12-21 17:25:35 +00:00 |
|
bringert
|
24c456cadf
|
Fixed bug in toGFCC: cflags where mistakenly taken from aflags.
|
2007-12-21 17:24:59 +00:00 |
|
bringert
|
645a7db1e2
|
gfcc files now start with (grammar absname cncname1 ... cncnameN).
|
2007-12-21 17:18:36 +00:00 |
|
bringert
|
ab7da811d2
|
Fixed indentation in generated haskell code for list categories.
|
2007-12-20 23:26:10 +00:00 |
|
bringert
|
176abb51d1
|
in gf-embed.cabal: expose GF.GFCC.CId and hide GF.GFCC.Raw.AbsGFCCRaw
|
2007-12-20 23:20:53 +00:00 |
|
bringert
|
e4ffd51797
|
Moved Err definition to GF.Data.ErrM from GF.Data.Operations. This means the GF-embed does not have to include GF.Data.Operations.
|
2007-12-20 17:41:31 +00:00 |
|
bringert
|
6bab46fbb2
|
Update GF-embed.cabal to use GFCC.Raw
|
2007-12-20 17:35:18 +00:00 |
|
bringert
|
5b01d912ce
|
Replace all the different ErrM.hs modules with GF.Data.ErrM.
|
2007-12-20 17:34:12 +00:00 |
|
bringert
|
4ab0df67c5
|
Added newlines and ends of some files. This makes sed happy.
|
2007-12-20 17:07:56 +00:00 |
|
bringert
|
3d80cf6bf9
|
Use GF.GFCC.Raw.AbsGFCCRaw instead of GF.GFCC.AbsGFCC in code generated by gfc -haskell.
|
2007-12-20 16:57:16 +00:00 |
|
bringert
|
7b7735c12f
|
Added missing BNFC-generated alex and happy files, and alex-generated lexer for GFCCRaw.
|
2007-12-20 16:32:39 +00:00 |
|
bringert
|
6590edbd48
|
Handle giving several options in LDFLAGS and CPPFLAGS correctly.
|
2007-12-20 15:55:26 +00:00 |
|
bringert
|
27315ad5d2
|
s/resource-1.0/resource/ in src/Makefile.
|
2007-12-13 13:39:04 +00:00 |
|
bringert
|
8ddd6a59f3
|
Expose AbsGFCC and DataGFCC in gf-embed.cabal, since code generated by -haskell needs them.
|
2007-12-05 21:41:38 +00:00 |
|
bringert
|
2885e2fd8a
|
Update GF-embed.cabal to use expose GF.GFCC.API. This pulls in a lot fewer modules than the old version. Use Cabal configurations to compile on 6.8.1. This unfortunately means that users of GHC < 6.8 must upgrade to Cabal 1.2 or greater.
|
2007-12-05 20:05:42 +00:00 |
|
bringert
|
10354e0db2
|
Haskell GSyntax printer?: encode generated code as UTF-8. Current GHC versions treat source files as UTF-8 encoded.
|
2007-11-28 13:45:49 +00:00 |
|
bringert
|
3ab863c1d4
|
Added install-gf3 target. Use EXEEXT to get correct gf3 file name on Windows.
|
2007-11-12 16:18:01 +00:00 |
|
bringert
|
ca6198dc98
|
Use configure to produce a gfc script with the correct path to gf3. NOTE: you need to re-run autoconf after pulling this patch.
|
2007-11-12 16:17:04 +00:00 |
|
bringert
|
6568ac4aea
|
Fix pre token bug in JS, both in gf and gfc. Pre tokens are still treated like normal tokens, but at least the generated code should be correct now.
|
2007-11-09 15:09:09 +00:00 |
|
bringert
|
ed4b43961d
|
Added explicit export list to ParGF.
|
2007-11-01 10:10:30 +00:00 |
|
bringert
|
dafbcb7f9b
|
Regenerated ParGF.y with current BNFC, and regenerated ParGF.hs with Happy 1.17. This seems to fix some of the less informative parsing error messages.
|
2007-11-01 10:08:32 +00:00 |
|
bringert
|
af54ec7e45
|
Added type signature to fix GHC 6.8 problem reported by Jean-Philippe.
|
2007-10-30 09:51:14 +00:00 |
|
bringert
|
5b7f45c7e6
|
Added --output-name to GF.Devel.GFC.Options. Inspired by peb's --output-base suggestion.
|
2007-10-23 12:19:11 +00:00 |
|
bringert
|
1bf4df8763
|
Added --output-dir to GF.Devel.GFC.Options. Suggested by peb.
|
2007-10-23 12:15:01 +00:00 |
|
bringert
|
9dc7843f53
|
Allow multiple output formats in GF.Devel.GFC.Options. Suggested by peb.
|
2007-10-23 12:11:48 +00:00 |
|
bringert
|
bc2cac719b
|
Added Show isntance generation to haskell_gadt.
|
2007-10-20 18:57:38 +00:00 |
|
bringert
|
173d0ae876
|
Added Compos instance generation to the haskell_gadt printer. Added GF.Data.Compos module which is imported by the code generated by haskell_gadt.
|
2007-10-20 18:42:16 +00:00 |
|
bringert
|
5028c62c66
|
Fixed link to resource grammar synopsis.
|
2007-10-17 16:18:13 +00:00 |
|
bringert
|
e4ab0e274b
|
Note that darcs 1.0.9 has controlmaster problems.
|
2007-10-03 13:13:27 +00:00 |
|
bringert
|
5fedbc53ae
|
Started on a stub GFC.Main
|
2007-09-28 13:27:12 +00:00 |
|
bringert
|
64b7683ee4
|
Removed giant comment and add help message function to GF.Devel.GFC.Options.
|
2007-09-28 13:12:55 +00:00 |
|
bringert
|
00ec603bf6
|
Implemented lots of command-line options in GF.Devel.GFC.Options.
|
2007-09-28 13:10:09 +00:00 |
|
bringert
|
470038e017
|
Started working on gfc command-line options.
|
2007-09-21 10:30:00 +00:00 |
|
bringert
|
46013f103c
|
Restored the GFCC.cf from before the patch "simplify GFCC syntax". This is the version that the exisiting code actually uses, except for the two cases of Int instead of Integer.
|
2007-09-20 15:20:44 +00:00 |
|
bringert
|
5f5d4b2cbe
|
BNFC doesn't have an Int type.
|
2007-09-20 14:33:53 +00:00 |
|
bringert
|
46c8026b9d
|
Include startcat in generated JavaScript.
|
2007-09-19 08:58:39 +00:00 |
|
bringert
|
e8d2281684
|
make (all) in src now compiles the resource grammars.
|
2007-09-13 08:27:48 +00:00 |
|
bringert
|
0c05a33d82
|
Use darcs dist instead of darcs get in make dist. This should get around the problem with partial repositories.
|
2007-07-08 18:32:45 +00:00 |
|
bringert
|
bece5b2974
|
Nicer mkDet usage in Toy0I
|
2007-07-06 12:03:47 +00:00 |
|
bringert
|
51cba70815
|
Use compiled.tgz in dist and install-lib.
|
2007-07-05 12:25:00 +00:00 |
|
bringert
|
2938c2082d
|
Set build variable in config.mk
|
2007-07-05 12:23:39 +00:00 |
|
bringert
|
7ef52f7cc8
|
Changed dist target to work with current darcs version.
|
2007-07-04 15:38:42 +00:00 |
|
bringert
|
849561bb18
|
Added lib target to src/Makefile. It builds all the resource-1.0 modules.
|
2007-07-04 15:30:07 +00:00 |
|
bringert
|
51d3ade165
|
Install compiled resource modules in source and binary installs.
|
2007-07-04 13:27:22 +00:00 |
|
bringert
|
5e58041cfd
|
Remove old VCS configure flags.
|
2007-07-04 13:27:04 +00:00 |
|
bringert
|
7114ca47af
|
Fixed NOINLINE bug in Today.hs
|
2007-07-04 13:26:17 +00:00 |
|
bringert
|
39de0bca42
|
Build GF/Today.hs directly from Makefile. Include libdir.
|
2007-07-04 12:49:01 +00:00 |
|
bringert
|
0f8ef7432c
|
Fized some typos in Toy1.
|
2007-07-04 11:27:06 +00:00 |
|
bringert
|
da6e0efc11
|
CFRules tracing.
|
2007-06-28 01:26:09 +00:00 |
|
bringert
|
cbf851b516
|
-printer=regexp handles precedence
|
2007-06-28 01:25:36 +00:00 |
|
bringert
|
af45f33d51
|
bottom-up and top-down filtering do not need fix point iteration.
|
2007-06-27 17:46:34 +00:00 |
|
bringert
|
af36dcf13d
|
Refactor TransformCFG: use Map for CFRules.
|
2007-06-27 17:22:59 +00:00 |
|
bringert
|
bb09506ece
|
Make bottomUpFilter better by also removing categories which contain no finite strings.
|
2007-06-27 16:27:55 +00:00 |
|
bringert
|
92b1b85a1f
|
Print SRG stats when preprocessing grammar.
|
2007-06-27 16:27:08 +00:00 |
|
bringert
|
c3c84f6574
|
Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs.
|
2007-06-27 15:39:42 +00:00 |
|
bringert
|
2ff350ae59
|
Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing.
|
2007-06-27 14:25:39 +00:00 |
|
bringert
|
e7787025f6
|
The no-functor toy0 english now uses N for Noun.
|
2007-06-27 13:00:09 +00:00 |
|
bringert
|
a22de1a9f6
|
Cleaned up names and paths in toy0 grammars.
|
2007-06-27 12:50:42 +00:00 |
|
bringert
|
ab99a1f89a
|
Added no-functor version of Toy0Eng.gf
|
2007-06-27 12:42:25 +00:00 |
|
bringert
|
8a223031b5
|
Added english and french parameterized toy0 cocnrete sytnaxes.
|
2007-06-27 12:40:25 +00:00 |
|
bringert
|
54d5325171
|
Moved the different versions of the toy0 concrete modules to different subdirectories.
|
2007-06-27 12:38:24 +00:00 |
|
bringert
|
43128f80e6
|
Limit GSL/JSGF/SRGS ABNF grammar line width to 80.
|
2007-06-27 09:07:51 +00:00 |
|
bringert
|
3b93e0ffe2
|
Fewer redundant parantheses in JSGF and SRGS ABNF.
|
2007-06-26 16:51:09 +00:00 |
|
bringert
|
99ac3f8d73
|
SRGS XML: the meta tag should use empty tag short-hand.
|
2007-06-26 15:20:32 +00:00 |
|
bringert
|
88653403fc
|
Oops, I had managed to remove the preprocessing step in makeSimpleRegular, which broke SLF and non-rec SRGS generation for grammars which need bottom-up filtering.
|
2007-06-26 15:09:48 +00:00 |
|
bringert
|
3371605af0
|
Eliminate more redundant item tags in SRGS XML.
|
2007-06-26 12:27:46 +00:00 |
|
bringert
|
7eaa2af27c
|
Produce less verbose SRGS XML, by eliminating redundant item tags.
|
2007-06-26 12:19:30 +00:00 |
|
bringert
|
22ef3cbc04
|
Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE.
|
2007-06-25 16:50:28 +00:00 |
|
bringert
|
eb9a6f7c73
|
Added srgs_abnf_non_rec.
|
2007-06-25 16:50:00 +00:00 |
|
bringert
|
b17e74bca5
|
Document non-recursive SRGS.
|
2007-06-25 16:49:36 +00:00 |
|
bringert
|
862c780f78
|
Some clean-up in finite-state network generation: MFA now keeps track of start lattice name, instead of having a wrapper lattice. Replaced MFALabel with Symbol.
|
2007-06-25 16:25:58 +00:00 |
|
bringert
|
b086183c0f
|
Added non-recursive SRGS printing.
|
2007-06-25 13:39:26 +00:00 |
|
bringert
|
2b63a89569
|
Some refactorings needed for recursion removal.
|
2007-06-25 13:38:40 +00:00 |
|
bringert
|
16bfb1250b
|
Added makeSRG.
|
2007-06-21 13:40:13 +00:00 |
|
bringert
|
336273c534
|
SRG always has RE rhs.
|
2007-06-21 13:11:26 +00:00 |
|
bringert
|
bff87e513a
|
Removed some unused imports of GF.Speech.SRG.
|
2007-06-21 12:52:59 +00:00 |
|
bringert
|
6968004f19
|
Added regexps grammar printer. This is a first step towards recursion-free SRGS.
|
2007-06-20 16:08:23 +00:00 |
|
bringert
|
91dcc27668
|
Added language flags to bronzeage grammars.
|
2007-06-20 12:22:28 +00:00 |
|
bringert
|
a27643baed
|
Added a simple cabal build system for the embedded API.
|
2007-06-14 16:08:38 +00:00 |
|
bringert
|
3edaa60988
|
Move some type annotations from patterns to expressions. Haskell 98 does not allow type signatures in expressions.
|
2007-06-14 16:02:07 +00:00 |
|
bringert
|
1fa928516c
|
Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions.
|
2007-06-14 15:58:36 +00:00 |
|
bringert
|
eb89dc2dfe
|
Fixed < > encoding in int parameter example in gf-history.
|
2007-05-11 13:35:43 +00:00 |
|