Commit Graph

27 Commits

Author SHA1 Message Date
aarne
3d63d3a966 trying to get the coding flag to work in grammars 2008-06-24 14:31:21 +00:00
aarne
2038b776af cp1251 coding ; trying to recognize the coding flag in grammar 2008-06-24 13:58:04 +00:00
krasimir
b7be040be6 move the prelude sources to the prelude directory and add the resource library to cabal 2008-06-19 14:16:05 +00:00
bjorn
b2cb675317 Remove "srgs" output format name, use "srgs_xml" instead. 2008-06-17 12:30:19 +00:00
bjorn
c57218d9ba Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
krasimir
8f8709b9fa add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
bjorn
5dea982489 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn
c974ce4345 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
aarne
063b242905 printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne
96721de3e3 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
bjorn
bec9d06fae Change setOptimization to produce Options, not a function over Options. 2008-05-30 15:20:09 +00:00
bjorn
7b52464a92 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
56c34b5dd8 replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
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
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
aarne
2488caab69 also lookup in concrete in cc 2008-05-26 15:54:03 +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
kr.angelov
7f244c9a73 Remove GF.Today and use the autogenerated Paths_gf from Cabal 2008-05-23 13:19:24 +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
kr.angelov
01ad6bd642 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
fc42d8ec3b remove all files that aren't used in GF-3.0 2008-05-22 11:59:31 +00:00
kr.angelov
bc2e5bfc4c further optimization by unpacking the ByteString in Ident 2008-05-21 19:51:52 +00:00
kr.angelov
314f5cc5e7 use ByteString internally in Ident, CId and Label 2008-05-21 13:10:54 +00:00
aarne
2bab9286f1 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