1
0
forked from GitHub/gf-core
Commit Graph

18 Commits

Author SHA1 Message Date
krasimir
67c43b8251 use import System.Cmd instead of import System. It is in the process package and we already depend on it. 2008-06-11 14:00:04 +00:00
aarne
4681aaa11c system command (!) in gf3 shell 2008-06-11 12:20:42 +00:00
krasimir
a9ad4dbba6 force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +00:00
kr.angelov
83cededff9 file name completion for command i 2008-06-05 12:12:44 +00:00
kr.angelov
d970ed5224 fix the error checking in the word completion 2008-06-05 12:00:51 +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
aarne
5d63852680 unforgetting new env after i command 2008-05-30 17:13:38 +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
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
a253fa2375 printing options for source GF terms defined in API and used in cc command 2008-05-26 14:50:17 +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
aarne
f1fd6260e0 support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +00:00
kr.angelov
64e31a1838 use the version number from Paths_gf 2008-05-23 14:37:39 +00:00
kr.angelov
01ad6bd642 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
e267c7a8b9 move GFC and GFI 2008-05-22 14:39:16 +00:00