Commit Graph

2170 Commits

Author SHA1 Message Date
bjorn
54ebdab1f7 Change setOptimization to produce Options, not a function over Options. 2008-05-30 15:20:09 +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
150940b870 cleaned up and documented PGF API 2008-05-30 13:07:11 +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
1077fa1f30 don't need SyntaxTree anymore. Use PGF.Data.Exp directly 2008-05-30 07:23:00 +00:00
krasimir
88d3f61f41 change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
krasimir
1bcc4aab81 drop the GF.Command.* dependencies in the library 2008-05-29 16:53:24 +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
77e05b0b36 rearrange the other-modules field 2008-05-29 12:40:32 +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
4d1809ef2d Simplify the Input type. Remove Edge and use only Range type 2008-05-29 11:20:40 +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
45e1eedff3 removed extra subex in suffixOptimize 2008-05-29 09:51:37 +00:00
aarne
a5d05e8344 type computed in table T [...] 2008-05-29 08:23:23 +00:00
bjorn
34736bb431 Only print \n instead of CPU time in putPointE when printing the text message. This avoids printings lots of empty lines in silent mode. 2008-05-29 08:06:56 +00:00
bjorn
d459573c80 Copy startcat flag to .gfo file. 2008-05-29 08:01:55 +00:00
krasimir
152c5698ce if optShowCPUTime is off just print \n in putPointE 2008-05-29 07:34:29 +00:00
bjorn
dd8c3e91a0 Oops, inverted meaning of optBuildParser. 2008-05-28 19:56:12 +00:00
bjorn
2fcc77a884 Some printing / verbosity fixes. 2008-05-28 15:56:37 +00:00
bjorn
a5cf2afccf Added GF.Infra.GetOpt to GF.cabal 2008-05-28 15:56:25 +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
bcdbb26b88 showing labelless table values in cc 2008-05-26 16:08:31 +00:00
aarne
913067543d also lookup in concrete in cc 2008-05-26 15:54:03 +00:00
aarne
d4e0caa053 printing options for source GF terms defined in API and used in cc command 2008-05-26 14:50:17 +00:00
aarne
7d0da72db1 getting started with overloaded API for 1.4; some determiner syntax missing 2008-05-26 14:06:56 +00:00
aarne
68903bb251 started source grammar API ; used it for a first implem. of cc command 2008-05-24 16:13:27 +00:00
aarne
0db611a9ab support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +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
kr.angelov
53bfa43a58 allow Ctrl+Break in the shell. Works on Windows too. 2008-05-23 15:16:28 +00:00
kr.angelov
0b80bf17d9 use the version number from Paths_gf 2008-05-23 14:37:39 +00:00
aarne
61e4e6e483 debugging gfcc compilation 2008-05-23 14:10:31 +00:00
kr.angelov
e0fb69d2f7 Lets Makefile generate Paths_gf 2008-05-23 14:16:42 +00:00
kr.angelov
b89e7a8972 package posix is actualy unix :-) 2008-05-23 14:15:53 +00:00
kr.angelov
3bb4f2c9c3 readline configuration for Cabal 2008-05-23 13:29:33 +00:00
kr.angelov
b8814af2f9 Remove GF.Today and use the autogenerated Paths_gf from Cabal 2008-05-23 13:19:24 +00:00
kr.angelov
16ba392ee4 add Cabal description for GF 2008-05-23 13:12:11 +00:00
kr.angelov
4c14927914 remove the deprecated RP constructor in GFCC 2008-05-23 09:54:02 +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
bjorn
5aceb18beb Set version number in configure.ac to "3.0-alpha". You need to rerun autoconf and configure to have this take effect. 2008-05-23 06:53:29 +00:00
bjorn
003278e52d Added GF.System.Readline and related modules back into src-3.0. 2008-05-23 06:31:52 +00:00