Commit Graph

55 Commits

Author SHA1 Message Date
krasimir
79cbcdad2d add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
kr.angelov
4803fb8052 use parser combinators to parse the shell commands. simplified CommandLine type 2008-06-05 07:33:42 +00:00
bjorn
27dda59db4 Get VoiceXML generation working. 2008-06-03 20:05:52 +00:00
bjorn
7237438a94 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn
2ee8ab8a71 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
aarne
c161e0e4df possible to inherit an overload group without excluding+opening 2008-06-03 11:59:00 +00:00
aarne
130a75a43a eliminated copying of inherited overload branches 2008-06-03 10:06:29 +00:00
aarne
8d98fec81e overload extension: syntax overload OldModule* {def*} 2008-06-03 09:21:24 +00:00
aarne
9dbf9c5660 added an argument place to ResOverload for extended overloads 2008-06-01 11:02:02 +00:00
bjorn
2771367118 Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +00:00
bjorn
5073ac4e7f 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
bd7d0c7c5e printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne
9229c15764 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
aarne
66c0467201 sync with laptop version, irrelevant changes 2008-05-29 22:32:58 +00:00
aarne
35009a2911 some fixes in pattern matching in Compute 2008-05-27 20:54:31 +00:00
aarne
3a20b4883d error recovery in rename and check grammar: report all errors in a module before terminating 2008-05-30 16:45:48 +00:00
bjorn
7f90087ab9 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
8bb0c32a9c replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
krasimir
1172539a95 change the PGF.Data.Exp type 2008-05-30 09:10:28 +00:00
krasimir
88d3f61f41 change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
aarne
2505bfc892 fixing number of interrogatives in English Structural 2008-05-29 16:16:19 +00:00
krasimir
96bdd18dc3 drop the dependency to GF.Infra.PrintClass from the Library 2008-05-29 15:15:00 +00:00
krasimir
ecfb1f5e01 move the parsing related stuff to GF.GFCC.Parsing 2008-05-29 12:38:09 +00:00
krasimir
9c2d27b8d1 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +00:00
krasimir
9a759a66dc move GF.Formalism.FCFG types to GF.GFCC.DataGFCC 2008-05-29 12:08:45 +00:00
krasimir
363ddd7b91 simplify FSymbol type 2008-05-29 11:43:28 +00:00
krasimir
bc578a0871 remove Symbol type 2008-05-29 11:00:21 +00:00
krasimir
64d3a1226d simplify the Profile type and remove the NameProfile type 2008-05-29 10:55:34 +00:00
aarne
a5d05e8344 type computed in table T [...] 2008-05-29 08:23:23 +00:00
bjorn
2fcc77a884 Some printing / verbosity fixes. 2008-05-28 15:56:37 +00:00
bjorn
3fd1f5652a 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
1bc74749aa move GF.Conversion.SimpleToFCFG GF.Compile.GenerateFCFG 2008-05-28 08:35:31 +00:00
aarne
7d92dc3c0e prepare for optimizing tuple pattern matching 2008-05-27 14:02:26 +00:00
aarne
5a386209dd interpret "foo bar" as ["foo bar"], silently 2008-05-24 08:03:42 +00:00
aarne
77178cd2ab sort records so that s field is first (use Macros.sortRec) 2008-05-24 07:44:16 +00:00
aarne
1eb1d7e055 temporary work-around of gfcc generation bug in resource-1.4 grammars 2008-05-24 07:18:34 +00:00
aarne
61e4e6e483 debugging gfcc compilation 2008-05-23 14:10:31 +00:00
kr.angelov
16ba392ee4 add Cabal description for GF 2008-05-23 13:12:11 +00:00
bjorn
6027c10a0c 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
kr.angelov
243cbba4c6 move GF.Devel.TC and GF.Devel.TypeCheck to GF.Compile.* 2008-05-22 15:43:25 +00:00
kr.angelov
d7bad70865 move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +00:00
kr.angelov
359647445a GF.Devel.ModDeps is removed. The only used function is moved to GrammarToGFCC 2008-05-22 15:32:31 +00:00
kr.angelov
2ecfbf1543 remove GF.Devel.PrGrammar and use GF.Grammar.PrGrammar instead 2008-05-22 15:23:56 +00:00
kr.angelov
4c0004f714 move GF.Devel.OptimizeGF to GF.Compile.OptimizeGF 2008-05-22 15:04:25 +00:00
kr.angelov
d7f81f9f51 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
f902f64a3e move GF.Devel.ReadFiles to GF.Compile.ReadFiles 2008-05-22 14:51:08 +00:00
kr.angelov
fd01ba1b68 move GF.Devel.GrammarToGFCC to GF.Compile.GrammarToGFCC 2008-05-22 14:46:18 +00:00
kr.angelov
35296a555d move GF.Devel.Compute to GF.Compile.Compute 2008-05-22 14:31:36 +00:00
kr.angelov
54e47edb5d move GF.Devel.CheckGrammar to GF.Compile.CheckGrammar 2008-05-22 13:15:45 +00:00
kr.angelov
fd1a216fb2 move GF.Devel.Optimize to GF.Compile.Optimize 2008-05-22 13:09:08 +00:00