Commit Graph

1103 Commits

Author SHA1 Message Date
bringert
e9857531e1 Build GF/Today.hs directly from Makefile. Include libdir. 2007-07-04 12:49:01 +00:00
aarne
e53a28a3a8 generalized MakeOverload to TreeSelections 2007-07-03 07:11:30 +00:00
aarne
e465bd5b93 parsing overloaded constructors as result 2007-07-02 13:58:02 +00:00
aarne
e2b6f56d17 contravariance in forgiving lock fields 2007-07-02 11:53:04 +00:00
bringert
731b5c4f98 CFRules tracing. 2007-06-28 01:26:09 +00:00
bringert
448e1db488 -printer=regexp handles precedence 2007-06-28 01:25:36 +00:00
bringert
f2710ba80d bottom-up and top-down filtering do not need fix point iteration. 2007-06-27 17:46:34 +00:00
bringert
674424c252 Refactor TransformCFG: use Map for CFRules. 2007-06-27 17:22:59 +00:00
bringert
f664497bcd Make bottomUpFilter better by also removing categories which contain no finite strings. 2007-06-27 16:27:55 +00:00
bringert
836e596189 Print SRG stats when preprocessing grammar. 2007-06-27 16:27:08 +00:00
bringert
0bf61ef626 Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs. 2007-06-27 15:39:42 +00:00
bringert
6bd9a9faaf Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing. 2007-06-27 14:25:39 +00:00
bringert
6c074d38c6 Limit GSL/JSGF/SRGS ABNF grammar line width to 80. 2007-06-27 09:07:51 +00:00
bringert
9cf1ae6112 Fewer redundant parantheses in JSGF and SRGS ABNF. 2007-06-26 16:51:09 +00:00
bringert
ee39e2c742 SRGS XML: the meta tag should use empty tag short-hand. 2007-06-26 15:20:32 +00:00
bringert
84e030d128 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
77920fd23a Eliminate more redundant item tags in SRGS XML. 2007-06-26 12:27:46 +00:00
bringert
eb92a9bf8f Produce less verbose SRGS XML, by eliminating redundant item tags. 2007-06-26 12:19:30 +00:00
bringert
b81b9b910e Implement makeNonRecursiveSRG by conversion through MFA instead of directly to RE. 2007-06-25 16:50:28 +00:00
bringert
58dc4c30eb Added srgs_abnf_non_rec. 2007-06-25 16:50:00 +00:00
bringert
92db9f7268 Document non-recursive SRGS. 2007-06-25 16:49:36 +00:00
bringert
ca8efaf3c7 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
e967e040f9 Added non-recursive SRGS printing. 2007-06-25 13:39:26 +00:00
bringert
815cc5a7eb Some refactorings needed for recursion removal. 2007-06-25 13:38:40 +00:00
bringert
8cdbaa39f7 Added makeSRG. 2007-06-21 13:40:13 +00:00
bringert
4d28e6ec1c SRG always has RE rhs. 2007-06-21 13:11:26 +00:00
bringert
23d1917b0d Removed some unused imports of GF.Speech.SRG. 2007-06-21 12:52:59 +00:00
bringert
13b8bab5fe Added regexps grammar printer. This is a first step towards recursion-free SRGS. 2007-06-20 16:08:23 +00:00
aarne
219c686633 extended functor syntax 2007-06-19 18:12:35 +00:00
aarne
f5b929acfc fixed the mysterious "file..gfc" error 2007-06-18 21:21:13 +00:00
aarne
6d22ade8a8 overloading in ParadigmsFre 2007-06-18 18:31:02 +00:00
aarne
3adf824e8e checking name conflicts; some RGs don't work now 2007-06-17 21:56:27 +00:00
aarne
adf0f8e83e marked deprecated productions in GF.cf 2007-06-17 14:16:01 +00:00
bringert
5c5c8d81c9 Added a simple cabal build system for the embedded API. 2007-06-14 16:08:38 +00:00
bringert
630cf47eeb 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
48081dc340 Added OPTIONS_GHC -fglasgow-exts to files that use GHC extensions. 2007-06-14 15:58:36 +00:00
aarne
265f29afb6 initial check for unknown words in parsing 2007-06-11 07:49:30 +00:00
aarne
84aafe7914 bug fix in Compute 2007-06-09 14:08:23 +00:00
aarne
31cbed2d60 some new shortcuts in Compute; no impressive results 2007-06-08 16:55:25 +00:00
aarne
333cf5e0e6 pattern matching optimization; trace of fun in compilation with -v 2007-06-08 12:50:01 +00:00
aarne
b24ecdfcba syntax interfaces 2007-05-31 18:46:29 +00:00
aarne
d01dfff9d3 overload checking and messages; resource.txt modifs 2007-05-31 09:58:38 +00:00
aarne
1317c89fd4 started direct compiler from GF to GFCC 2007-05-15 16:35:13 +00:00
aarne
f40b784f16 param values for TInts in Canon.Look 2007-05-11 13:57:34 +00:00
aarne
283cf9900a ids for GF rather than BNFC in AbsToBNF 2007-05-10 14:06:45 +00:00
bringert
94531fac8a Added haskell_gadt -printer. It does not include a Compos instance yet, so it's not terribly useful. 2007-05-10 13:56:41 +00:00
aarne
6254f61d65 printing abs as BNF 2007-05-10 12:51:40 +00:00
aarne
0b4017bd50 removed the Str/Tok distinction in CheckGrammar - obsolete anyway. 2007-05-03 13:55:34 +00:00
bringert
aab4187aa8 Fixed use of -unlexer in EmbedAPI. Before, EmbedAPI.linearize ignored the flags in the grammar. 2007-04-21 16:20:02 +00:00
bringert
91c7b22e8c Nicer formatting of generated GSL. 2007-03-27 10:21:16 +00:00