Commit Graph

46 Commits

Author SHA1 Message Date
aarne
2038b776af cp1251 coding ; trying to recognize the coding flag in grammar 2008-06-24 13:58:04 +00:00
aarne
9945a5b08e langs option to Make.hs ; utf8 exception in linearization from the coding flag in grammar 2008-06-24 08:35:02 +00:00
aarne
8fe8e8ad8a html string option 2008-06-23 09:19:21 +00:00
aarne
fc69b962bc threaded string operations to strings if given as options to linearize 2008-06-22 19:02:09 +00:00
aarne
f283528094 Finnish negation particle stored in VP for vowel harmony 2008-06-22 18:33:15 +00:00
aarne
7d1ee74958 added -nofun and -nocat options to vt 2008-06-22 14:15:06 +00:00
aarne
16fd61ce00 tree visualization command 2008-06-22 13:07:09 +00:00
krasimir
c0d22bec2d split the Exp type to Tree and Expr 2008-06-19 12:48:29 +00:00
aarne
0442d67e8c system command pipes (sp) 2008-06-18 16:26:12 +00:00
aarne
8201f59aeb term macro help 2008-06-18 09:14:31 +00:00
aarne
b37db6c880 macros for commands (dc) and terms (dt) 2008-06-18 07:22:30 +00:00
bjorn
dacf248160 Refactor grammar export code. 2008-06-17 12:29:11 +00:00
aarne
937df7382a moved commands pf and af to options of pg and wf, respectively 2008-06-16 20:36:10 +00:00
bjorn
c57218d9ba Added --sisr option for including SISR tags in generated SRGs. 2008-06-16 16:12:17 +00:00
aarne
361c6cb096 new languages in resource Make; moved GF-specific stuff from Quiz 2008-06-16 11:15:38 +00:00
aarne
4be8e59c1c documentation of commands; restriction options to generation 2008-06-15 21:36:41 +00:00
aarne
caa0e37c56 commands for displaying transliteration tables 2008-06-15 15:24:11 +00:00
aarne
15c9fada0a UTF3 coding as ps command options, also -bind 2008-06-15 13:25:22 +00:00
aarne
096c42540e some more command options and documentation 2008-06-14 15:48:52 +00:00
aarne
dbfe4c94e4 added syntax and examples fields to command help 2008-06-14 10:02:40 +00:00
aarne
93122ed338 added translation and mophology quizzes 2008-06-14 08:51:13 +00:00
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
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
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
kr.angelov
c0f7b0695e move GF.Devel.PrintGFCC to GF.GFCC.PrintGFCC 2008-05-22 15:41:17 +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