1
0
forked from GitHub/gf-core
Commit Graph

5224 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 65cec04ac2 restored the read_file command ; filename must be in quotes (to be fixed?) 2008-06-11 13:18:09 +00:00
aarne a61954fd11 system command (!) in gf3 shell 2008-06-11 12:20:42 +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
aarne 9c75bddcfc release document on gf3 2008-06-10 11:34:16 +00:00
aarne 49dcc123b5 added some functions to overloaded API 2008-06-09 15:54:03 +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 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 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 f5fd3aa603 in initState report the error strictly. This allows to catch it easily 2008-06-05 11:26:48 +00:00
kr.angelov 1068fbc7cf lookParser already returns Nothing if there is no parser. Don't generate error 2008-06-05 11:18:59 +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 0b1a157222 back to breadth first search. Fixes the the "I am here" bug 2008-06-04 21:49:39 +00:00
krasimir 6743f5bbcd add mtl dependency in cabal. It is used in the speech grammar generation 2008-06-04 09:27:39 +00:00
kr.angelov b5d14ff3df do the cyrilic trick for Windows in gf3 also 2008-06-04 07:52:12 +00:00
kr.angelov a3f4910bdb cleanup, document and export the completion API 2008-06-04 07:49:58 +00:00
bjorn 27dda59db4 Get VoiceXML generation working. 2008-06-03 20:05:52 +00:00
bjorn 957b4252dd Added lookPrintName. 2008-06-03 19:56:51 +00:00
bjorn d57a96a186 Added (still unchanged) GF.Speech.VoiceXML. 2008-06-03 19:34:08 +00:00
bjorn 8f6fc90228 Don't suffix start category name with _cat in SRGS XML printing. 2008-06-03 19:33:13 +00:00
bjorn 7237438a94 Added "bnf" output format for debugging. 2008-06-03 19:32:42 +00:00
bjorn 2ee8ab8a71 Added options to support SRG printing. 2008-06-03 19:20:18 +00:00
bjorn 61ccd948d3 Added speech recognition grammar generation code. There is no way yet to invoke the SRG printer, and only SRGS is included. 2008-06-03 18:53:53 +00:00
bjorn 762a9d16f0 Add GF.Data.XML from old source. This is required by the SRGS printer. 2008-06-03 18:53:30 +00:00
kr.angelov b5ca08c9c2 Use readline for word completion 2008-06-03 17:06:45 +00:00
kr.angelov ea145ddf52 add setCompletionFunction in GF.System.Readline 2008-06-03 16:54:59 +00:00
krasimir bd1fd95696 fix conflicts 2008-06-03 16:27:21 +00:00
krasimir 952e51d8f7 Redesign and opimize the incremental parser 2008-06-03 16:01:48 +00:00
krasimir ac8fa4fd5f Hackish version of the incremental parser 2008-06-03 06:59:44 +00:00
aarne c161e0e4df possible to inherit an overload group without excluding+opening 2008-06-03 11:59:00 +00:00
aarne 130a75a43a eliminated copying of inherited overload branches 2008-06-03 10:06:29 +00:00
aarne 8d98fec81e overload extension: syntax overload OldModule* {def*} 2008-06-03 09:21:24 +00:00
aarne 9dbf9c5660 added an argument place to ResOverload for extended overloads 2008-06-01 11:02:02 +00:00
bjorn 2771367118 Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +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 20ea9ea5ec Changes lookConcrFlag to return Maybe. 2008-05-30 15:38:35 +00:00
krasimir 59721bfc33 add the MultiMap module 2008-06-02 10:00:13 +00:00
krasimir 75b56603cf use MultiMap from the reference implementation instead of GeneralDeduction and RedBlackTree 2008-06-02 08:38:27 +00:00
krasimir 7ee26238f5 Some more documentation 2008-06-02 07:45:45 +00:00
krasimir cd6fa423a9 rename GF.Grammar.Refresh to GF.Compile.Refresh in .caba 2008-06-02 07:34:15 +00:00
aarne bd7d0c7c5e printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne 9229c15764 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
aarne 66c0467201 sync with laptop version, irrelevant changes 2008-05-29 22:32:58 +00:00
aarne 35009a2911 some fixes in pattern matching in Compute 2008-05-27 20:54:31 +00:00