Commit Graph

23 Commits

Author SHA1 Message Date
aarne
62b04f399c added command ps -stringop, with stringop being (un)lexer defined in Lexing 2008-06-12 14:36:03 +00:00
aarne
65cec04ac2 restored the read_file command ; filename must be in quotes (to be fixed?) 2008-06-11 13:18:09 +00:00
aarne
ad16eb2d78 allow spaces between command options; option -treebank in linearize 2008-06-11 09:20:26 +00:00
aarne
9628eb6314 preliminary version of morpho analysis 2008-06-10 16:00:42 +00:00
aarne
ec200fdf0b sorting command list in Commands 2008-06-08 19:27:20 +00:00
krasimir
4268d6219b longname, synopsis and explanation for all commands 2008-06-05 20:48:24 +00:00
kr.angelov
b8854ea2f4 describe cc,e,ph,q and i in Commands also. Allows word completion 2008-06-05 11:50:24 +00:00
kr.angelov
a097dc5e85 remove the wc command 2008-06-05 11:34:29 +00:00
kr.angelov
11f24097b4 complete word completion in the shell. works for commands, flags, options, abstract syntax identifiers and NL strings 2008-06-05 11:29:08 +00:00
kr.angelov
4803fb8052 use parser combinators to parse the shell commands. simplified CommandLine type 2008-06-05 07:33:42 +00:00
kr.angelov
a3f4910bdb cleanup, document and export the completion API 2008-06-04 07:49:58 +00:00
kr.angelov
b5ca08c9c2 Use readline for word completion 2008-06-03 17:06:45 +00:00
krasimir
bd1fd95696 fix conflicts 2008-06-03 16:27:21 +00:00
krasimir
ac8fa4fd5f Hackish version of the incremental parser 2008-06-03 06:59:44 +00:00
bjorn
5073ac4e7f Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly. 2008-06-02 15:32:01 +00:00
krasimir
150940b870 cleaned up and documented PGF API 2008-05-30 13:07:11 +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
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
kr.angelov
d7bad70865 move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +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