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
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
df0c4f81fa
remove all files that aren't used in GF-3.0
2008-05-22 11:59:31 +00:00
kr.angelov
c544ef3182
use ByteString internally in Ident, CId and Label
2008-05-21 13:10:54 +00:00
aarne
055c0d0d5a
GF/src is now for 2.9, and the new sources are in src-3.0 - keep it this way until the release of GF 3
2008-05-21 09:26:44 +00:00