Commit Graph

18 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
aarne
9229c15764 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +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
krasimir
9c2d27b8d1 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +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
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
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
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
fd01ba1b68 move GF.Devel.GrammarToGFCC to GF.Compile.GrammarToGFCC 2008-05-22 14:46:18 +00:00