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
kr.angelov
954740933a
move GFCCtoHaskell and GFCCtoJS to GF.GFCC.*
2008-05-22 15:47:15 +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
d8cabf0263
move GFC and GFI
2008-05-22 14:39:16 +00:00
kr.angelov
ebbc0a3e80
move GF.Devel.GF to GF
2008-05-22 14:32:49 +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
kr.angelov
9d6c383c07
move GF.Devel.GetGrammar to GF.Compile.GetGrammar
2008-05-22 13:05:12 +00:00
kr.angelov
a28b61be1c
move GF.Devel.Compile and GF.Compile.API to GF.Compile
2008-05-22 12:57:33 +00:00
kr.angelov
2e49f7f5b1
get rid of GF.System.Arch only one function from it was actually used
2008-05-22 12:39:13 +00:00
kr.angelov
df0c4f81fa
remove all files that aren't used in GF-3.0
2008-05-22 11:59:31 +00:00
aarne
6394f3ccfb
Makefile harmonization
2008-05-22 08:58:36 +00:00
aarne
3a27dd455e
restored readline
2008-05-22 07:38:41 +00:00
kr.angelov
b7ff446966
further optimization by unpacking the ByteString in Ident
2008-05-21 19:51:52 +00:00
kr.angelov
ced73a2f0a
fix typo
2008-05-21 19:51:24 +00:00
kr.angelov
1bead9601b
remove the -prof flag from Makefile
2008-05-21 19:49:49 +00:00
kr.angelov
b114471843
add GF.Source.SharedString
2008-05-21 13:35:26 +00:00