1
0
forked from GitHub/gf-core
Commit Graph

18 Commits

Author SHA1 Message Date
krasimir
f28e32e688 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
a61954fd11 system command (!) in gf3 shell 2008-06-11 12:20:42 +00:00
krasimir
aa5cff205d force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +00:00
kr.angelov
c4d298a347 file name completion for command i 2008-06-05 12:12:44 +00:00
kr.angelov
abea46022e fix the error checking in the word completion 2008-06-05 12:00:51 +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
aarne
83dc6de3a8 unforgetting new env after i command 2008-05-30 17:13:38 +00:00
bjorn
2f89962c44 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
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
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
aarne
d4e0caa053 printing options for source GF terms defined in API and used in cc command 2008-05-26 14:50:17 +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
aarne
0db611a9ab support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +00:00
kr.angelov
0b80bf17d9 use the version number from Paths_gf 2008-05-23 14:37:39 +00:00
kr.angelov
d7f81f9f51 move GF.Devel.UseIO to GF.Infra.UseIO 2008-05-22 14:58:44 +00:00
kr.angelov
d8cabf0263 move GFC and GFI 2008-05-22 14:39:16 +00:00