1
0
forked from GitHub/gf-core
Commit Graph

66 Commits

Author SHA1 Message Date
krasimir
b3d03db7bd fix Haskell embedded grammars 2008-06-23 08:48:17 +00:00
bjorn
8c71cc884b Added SLF, RegExp and Dot printing to exportPGF. 2008-06-22 12:01:29 +00:00
aarne
b0c3dfb213 restored mathematical in 1.4; forgave some lock fields in overload resolution 2008-06-20 09:21:52 +00:00
krasimir
c0d22bec2d split the Exp type to Tree and Expr 2008-06-19 12:48:29 +00:00
bjorn
dacf248160 Refactor grammar export code. 2008-06-17 12:29:11 +00:00
bjorn
fe6255bf2e Got GSL generation working. 2008-06-17 12:06:27 +00:00
bjorn
c57218d9ba Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
aarne
93122ed338 added translation and mophology quizzes 2008-06-14 08:51:13 +00:00
aarne
60a68c5f3d arabic in 1.4 - something makes compilation get stuck 2008-06-13 20:40:50 +00:00
bjorn
6ba502589f Get JSGF generation to compile. Still untested. 2008-06-12 18:39:02 +00:00
bjorn
f480dd3403 Rename GF.Speech.SRGS to GF.Speech.SRGS_XML 2008-06-12 18:24:26 +00:00
krasimir
8f8709b9fa add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
kr.angelov
0625cbb869 use parser combinators to parse the shell commands. simplified CommandLine type 2008-06-05 07:33:42 +00:00
bjorn
8d4dddfada Get VoiceXML generation working. 2008-06-03 20:05:52 +00:00
bjorn
5dea982489 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn
c974ce4345 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
aarne
fe2d34f9e1 possible to inherit an overload group without excluding+opening 2008-06-03 11:59:00 +00:00
aarne
757cad383c eliminated copying of inherited overload branches 2008-06-03 10:06:29 +00:00
aarne
04d8846c95 overload extension: syntax overload OldModule* {def*} 2008-06-03 09:21:24 +00:00
aarne
07c8a4383a added an argument place to ResOverload for extended overloads 2008-06-01 11:02:02 +00:00
bjorn
b54c5ddb7c Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +00:00
bjorn
1a14b51f51 Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly. 2008-06-02 15:32:01 +00:00
aarne
063b242905 printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne
96721de3e3 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
aarne
c8898f51bf sync with laptop version, irrelevant changes 2008-05-29 22:32:58 +00:00
aarne
db1d804e7e some fixes in pattern matching in Compute 2008-05-27 20:54:31 +00:00
aarne
e58a01f1c8 error recovery in rename and check grammar: report all errors in a module before terminating 2008-05-30 16:45:48 +00:00
bjorn
7b52464a92 Added setOptimization function to GF.Infra.Options. I will need to do similar things for other options. 2008-05-30 13:56:50 +00:00
krasimir
56c34b5dd8 replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
krasimir
587eed4eaa change the PGF.Data.Exp type 2008-05-30 09:10:28 +00:00
krasimir
3f2f0d1bea change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
aarne
a65be9ef42 fixing number of interrogatives in English Structural 2008-05-29 16:16:19 +00:00
krasimir
f116071ce5 drop the dependency to GF.Infra.PrintClass from the Library 2008-05-29 15:15:00 +00:00
krasimir
9d52772d86 move the parsing related stuff to GF.GFCC.Parsing 2008-05-29 12:38:09 +00:00
krasimir
7fc0aec243 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +00:00
krasimir
97569244af move GF.Formalism.FCFG types to GF.GFCC.DataGFCC 2008-05-29 12:08:45 +00:00
krasimir
687173736c simplify FSymbol type 2008-05-29 11:43:28 +00:00
krasimir
ad62be0dde remove Symbol type 2008-05-29 11:00:21 +00:00
krasimir
a8acdd5cc5 simplify the Profile type and remove the NameProfile type 2008-05-29 10:55:34 +00:00
aarne
10264a1d13 type computed in table T [...] 2008-05-29 08:23:23 +00:00
bjorn
22a165c266 Some printing / verbosity fixes. 2008-05-28 15:56:37 +00:00
bjorn
c7b016c07d Switch to new options handling.
This changes lots of stuff, let me know if it broke anything.

Comments:

- We use a local hacked version of GetOpt that allows long forms of commands to start with a single dash. This breaks other parts of GetOpt. For example, arguments to short options now require a =, and does not allo pace after the option character.

- The new command parsing is currently only used for the program command line, pragmas and the arguments for the 'i' shell command.

- I made a quick hack for the options for showTerm, which currently makes it impossible to use the print style flags for cc. This will be replaced by a facility for parsing command-specific options.

- The verbosity handling is broken in some places. I will fix that in a later patch.
2008-05-28 15:10:36 +00:00
krasimir
449cfc1e49 move GF.Conversion.SimpleToFCFG GF.Compile.GenerateFCFG 2008-05-28 08:35:31 +00:00
aarne
03741b01bb prepare for optimizing tuple pattern matching 2008-05-27 14:02:26 +00:00
aarne
472f6ed14f interpret "foo bar" as ["foo bar"], silently 2008-05-24 08:03:42 +00:00
aarne
f4bafe3d5a sort records so that s field is first (use Macros.sortRec) 2008-05-24 07:44:16 +00:00
aarne
a57a74608c temporary work-around of gfcc generation bug in resource-1.4 grammars 2008-05-24 07:18:34 +00:00
aarne
f21af43453 debugging gfcc compilation 2008-05-23 14:10:31 +00:00
kr.angelov
25d3602a15 add Cabal description for GF 2008-05-23 13:12:11 +00:00
bjorn
1408674411 Get rid of the 'f' type parameter to the module types.
This was only ever instantiated with Option, and made it diificult to change the options type.
2008-05-23 08:47:07 +00:00