Commit Graph

55 Commits

Author SHA1 Message Date
bjorn
ea17e2678b 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
972df6996f Copy startcat flag to .gfo file. 2008-05-29 08:01:55 +00:00
krasimir
d55f529a6e if optShowCPUTime is off just print \n in putPointE 2008-05-29 07:34:29 +00:00
bjorn
0a0412c036 Oops, inverted meaning of optBuildParser. 2008-05-28 19:56:12 +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
0eee20a064 showing labelless table values in cc 2008-05-26 16:08:31 +00:00
aarne
2488caab69 also lookup in concrete in cc 2008-05-26 15:54:03 +00:00
aarne
a253fa2375 printing options for source GF terms defined in API and used in cc command 2008-05-26 14:50:17 +00:00
aarne
089b930d7c getting started with overloaded API for 1.4; some determiner syntax missing 2008-05-26 14:06:56 +00:00
aarne
6d0adbb2cb started source grammar API ; used it for a first implem. of cc command 2008-05-24 16:13:27 +00:00
aarne
f1fd6260e0 support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +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
kr.angelov
e5eda3da55 allow Ctrl+Break in the shell. Works on Windows too. 2008-05-23 15:16:28 +00:00
kr.angelov
64e31a1838 use the version number from Paths_gf 2008-05-23 14:37:39 +00:00
aarne
f21af43453 debugging gfcc compilation 2008-05-23 14:10:31 +00:00
kr.angelov
35d5c62dc9 Lets Makefile generate Paths_gf 2008-05-23 14:16:42 +00:00
kr.angelov
7f244c9a73 Remove GF.Today and use the autogenerated Paths_gf from Cabal 2008-05-23 13:19:24 +00:00
kr.angelov
25d3602a15 add Cabal description for GF 2008-05-23 13:12:11 +00:00
kr.angelov
7f1cde91df remove the deprecated RP constructor in GFCC 2008-05-23 09:54:02 +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
bjorn
67b5eecba7 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
2c19600a17 Added GF.System.Readline and related modules back into src-3.0. 2008-05-23 06:31:52 +00:00
kr.angelov
c142b4a143 move GFCCtoHaskell and GFCCtoJS to GF.GFCC.* 2008-05-22 15:47:15 +00:00
kr.angelov
01e9027bb5 move GF.Devel.TC and GF.Devel.TypeCheck to GF.Compile.* 2008-05-22 15:43:25 +00:00
kr.angelov
c0f7b0695e move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +00:00
kr.angelov
60a3390173 GF.Devel.ModDeps is removed. The only used function is moved to GrammarToGFCC 2008-05-22 15:32:31 +00:00
kr.angelov
bbec9e5577 remove GF.Devel.PrGrammar and use GF.Grammar.PrGrammar instead 2008-05-22 15:23:56 +00:00
kr.angelov
26e01f27be move GF.Devel.OptimizeGF to GF.Compile.OptimizeGF 2008-05-22 15:04:25 +00:00
kr.angelov
01ad6bd642 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
27d501b1cb move GF.Devel.ReadFiles to GF.Compile.ReadFiles 2008-05-22 14:51:08 +00:00
kr.angelov
435e215f22 move GF.Devel.GrammarToGFCC to GF.Compile.GrammarToGFCC 2008-05-22 14:46:18 +00:00
kr.angelov
e267c7a8b9 move GFC and GFI 2008-05-22 14:39:16 +00:00
kr.angelov
2cd5f71178 move GF.Devel.GF to GF 2008-05-22 14:32:49 +00:00
kr.angelov
d696512b15 move GF.Devel.Compute to GF.Compile.Compute 2008-05-22 14:31:36 +00:00
kr.angelov
01d61d9347 move GF.Devel.CheckGrammar to GF.Compile.CheckGrammar 2008-05-22 13:15:45 +00:00
kr.angelov
26fd8848c6 move GF.Devel.Optimize to GF.Compile.Optimize 2008-05-22 13:09:08 +00:00
kr.angelov
3a8fd6802a move GF.Devel.GetGrammar to GF.Compile.GetGrammar 2008-05-22 13:05:12 +00:00
kr.angelov
0df428f676 move GF.Devel.Compile and GF.Compile.API to GF.Compile 2008-05-22 12:57:33 +00:00
kr.angelov
3df4c21879 get rid of GF.System.Arch only one function from it was actually used 2008-05-22 12:39:13 +00:00
kr.angelov
fc42d8ec3b remove all files that aren't used in GF-3.0 2008-05-22 11:59:31 +00:00
aarne
d78e8d5469 Makefile harmonization 2008-05-22 08:58:36 +00:00
aarne
d705e731b8 restored readline 2008-05-22 07:38:41 +00:00
kr.angelov
bc2e5bfc4c further optimization by unpacking the ByteString in Ident 2008-05-21 19:51:52 +00:00
kr.angelov
8a595fc51f fix typo 2008-05-21 19:51:24 +00:00
kr.angelov
10da6804ed remove the -prof flag from Makefile 2008-05-21 19:49:49 +00:00