Commit Graph

32 Commits

Author SHA1 Message Date
aarne
85606ec32b make with test trees 2008-06-13 12:49:54 +00:00
aarne
561fe9a6f8 file name as option in commands 2008-06-12 21:04:16 +00:00
aarne
e783a894bf added command ps -stringop, with stringop being (un)lexer defined in Lexing 2008-06-12 14:36:03 +00:00
aarne
9a8295c98d restored the read_file command ; filename must be in quotes (to be fixed?) 2008-06-11 13:18:09 +00:00
aarne
2c0229f65c allow spaces between command options; option -treebank in linearize 2008-06-11 09:20:26 +00:00
aarne
59aff851a7 preliminary version of morpho analysis 2008-06-10 16:00:42 +00:00
krasimir
a9ad4dbba6 force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +00:00
aarne
fd6f37032c sorting command list in Commands 2008-06-08 19:27:20 +00:00
krasimir
ce06bd457e longname, synopsis and explanation for all commands 2008-06-05 20:48:24 +00:00
kr.angelov
3e15333c41 describe cc,e,ph,q and i in Commands also. Allows word completion 2008-06-05 11:50:24 +00:00
kr.angelov
0841f73b83 remove the wc command 2008-06-05 11:34:29 +00:00
kr.angelov
e54e17e43b 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
0625cbb869 use parser combinators to parse the shell commands. simplified CommandLine type 2008-06-05 07:33:42 +00:00
kr.angelov
2db5cddc33 cleanup, document and export the completion API 2008-06-04 07:49:58 +00:00
kr.angelov
333271dec1 Use readline for word completion 2008-06-03 17:06:45 +00:00
krasimir
cdb1eaf58f fix conflicts 2008-06-03 16:27:21 +00:00
krasimir
1647026506 Hackish version of the incremental parser 2008-06-03 06:59:44 +00:00
bjorn
1a14b51f51 Honor the --name flag when generating output files. Set module name in generated Haskell modules correctly. 2008-06-02 15:32:01 +00:00
bjorn
aa010a84bd Refactor GFI to treat command line files and the i command uniformly. Disable CSE by default in GFI. 2008-05-30 15:20:28 +00:00
krasimir
3f3188a430 cleaned up and documented PGF API 2008-05-30 13:07:11 +00:00
krasimir
56c34b5dd8 replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
krasimir
587eed4eaa change the PGF.Data.Exp type 2008-05-30 09:10:28 +00:00
krasimir
3f2f0d1bea change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +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
f1fd6260e0 support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +00:00
kr.angelov
e5eda3da55 allow Ctrl+Break in the shell. Works on Windows too. 2008-05-23 15:16:28 +00:00
kr.angelov
25d3602a15 add Cabal description for GF 2008-05-23 13:12:11 +00:00
kr.angelov
c0f7b0695e move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +00:00
kr.angelov
01ad6bd642 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
0df428f676 move GF.Devel.Compile and GF.Compile.API to GF.Compile 2008-05-22 12:57:33 +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