Commit Graph

54 Commits

Author SHA1 Message Date
aarne
223480bb77 langs option to Make.hs ; utf8 exception in linearization from the coding flag in grammar 2008-06-24 08:35:02 +00:00
aarne
65b2670ce7 html string option 2008-06-23 09:19:21 +00:00
aarne
0f205f67d4 threaded string operations to strings if given as options to linearize 2008-06-22 19:02:09 +00:00
aarne
e9b21c92a0 Finnish negation particle stored in VP for vowel harmony 2008-06-22 18:33:15 +00:00
aarne
0a43025bbe added -nofun and -nocat options to vt 2008-06-22 14:15:06 +00:00
aarne
0f0e65f706 tree visualization command 2008-06-22 13:07:09 +00:00
krasimir
4dd62417dc split the Exp type to Tree and Expr 2008-06-19 12:48:29 +00:00
aarne
944eea8de9 system command pipes (sp) 2008-06-18 16:26:12 +00:00
aarne
8e5b78f886 term macro help 2008-06-18 09:14:31 +00:00
aarne
0f21f8f343 macros for commands (dc) and terms (dt) 2008-06-18 07:22:30 +00:00
aarne
7c097669d2 fixed command abbreviations in GFI 2008-06-17 12:34:02 +00:00
bjorn
d13b32ea48 Refactor grammar export code. 2008-06-17 12:29:11 +00:00
aarne
582ea07fe1 moved commands pf and af to options of pg and wf, respectively 2008-06-16 20:36:10 +00:00
bjorn
5c7c010f80 Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
aarne
ea31c1e63b new languages in resource Make; moved GF-specific stuff from Quiz 2008-06-16 11:15:38 +00:00
aarne
543ef3531a documentation of commands; restriction options to generation 2008-06-15 21:36:41 +00:00
aarne
c2bbdc8a16 commands for displaying transliteration tables 2008-06-15 15:24:11 +00:00
aarne
8c3111e36a UTF3 coding as ps command options, also -bind 2008-06-15 13:25:22 +00:00
krasimir
486d21cd7a fix the command line parser 2008-06-15 09:21:59 +00:00
aarne
7a065580d2 some more command options and documentation 2008-06-14 15:48:52 +00:00
aarne
246f307b22 added syntax and examples fields to command help 2008-06-14 10:02:40 +00:00
aarne
c1c8257e82 added translation and mophology quizzes 2008-06-14 08:51:13 +00:00
aarne
4b1faf4ae5 make with test trees 2008-06-13 12:49:54 +00:00
aarne
3b15ade685 file name as option in commands 2008-06-12 21:04:16 +00:00
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
krasimir
aa5cff205d force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +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
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
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
aarne
0db611a9ab support for source gr and i -retain in GFI env 2008-05-24 09:16:59 +00:00
kr.angelov
53bfa43a58 allow Ctrl+Break in the shell. Works on Windows too. 2008-05-23 15:16:28 +00:00
kr.angelov
16ba392ee4 add Cabal description for GF 2008-05-23 13:12:11 +00:00
kr.angelov
d7bad70865 move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +00:00