Commit Graph

22 Commits

Author SHA1 Message Date
krasimir
79cbcdad2d add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
bjorn
7237438a94 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn
2ee8ab8a71 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
aarne
bd7d0c7c5e printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +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
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
8bb0c32a9c replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +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
2fcc77a884 Some printing / verbosity fixes. 2008-05-28 15:56:37 +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
aarne
913067543d also lookup in concrete in cc 2008-05-26 15:54:03 +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
kr.angelov
b8814af2f9 Remove GF.Today and use the autogenerated Paths_gf from Cabal 2008-05-23 13:19:24 +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
d7f81f9f51 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +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
b7ff446966 further optimization by unpacking the ByteString in Ident 2008-05-21 19:51:52 +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