1
0
forked from GitHub/gf-core
Commit Graph

99 Commits

Author SHA1 Message Date
bjorn
30792a3fa3 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
be2e8386a7 Add GF.Data.XML from old source. This is required by the SRGS printer. 2008-06-03 18:53:30 +00:00
kr.angelov
333271dec1 Use readline for word completion 2008-06-03 17:06:45 +00:00
kr.angelov
17e349abd3 add setCompletionFunction in GF.System.Readline 2008-06-03 16:54:59 +00:00
krasimir
cdb1eaf58f fix conflicts 2008-06-03 16:27:21 +00:00
krasimir
a2f4baa78b Redesign and opimize the incremental parser 2008-06-03 16:01:48 +00:00
krasimir
1647026506 Hackish version of the incremental parser 2008-06-03 06:59:44 +00:00
aarne
fe2d34f9e1 possible to inherit an overload group without excluding+opening 2008-06-03 11:59:00 +00:00
aarne
757cad383c eliminated copying of inherited overload branches 2008-06-03 10:06:29 +00:00
aarne
04d8846c95 overload extension: syntax overload OldModule* {def*} 2008-06-03 09:21:24 +00:00
aarne
07c8a4383a added an argument place to ResOverload for extended overloads 2008-06-01 11:02:02 +00:00
bjorn
b54c5ddb7c Fixed generated Haskell modules to use only the PGF module. 2008-06-02 15:47:56 +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
bjorn
699cf456cb Changes lookConcrFlag to return Maybe. 2008-05-30 15:38:35 +00:00
krasimir
356860da00 add the MultiMap module 2008-06-02 10:00:13 +00:00
krasimir
a9d27771db use MultiMap from the reference implementation instead of GeneralDeduction and RedBlackTree 2008-06-02 08:38:27 +00:00
krasimir
7bab5ed958 Some more documentation 2008-06-02 07:45:45 +00:00
aarne
063b242905 printing line numbers in rename and check-grammar error messages 2008-05-31 16:30:36 +00:00
aarne
96721de3e3 added positions to Module record; avoided Module constructor where possible; moved Refresh to Compile/ 2008-05-31 14:40:46 +00:00
aarne
c8898f51bf sync with laptop version, irrelevant changes 2008-05-29 22:32:58 +00:00
aarne
db1d804e7e some fixes in pattern matching in Compute 2008-05-27 20:54:31 +00:00
aarne
5d63852680 unforgetting new env after i command 2008-05-30 17:13:38 +00:00
aarne
e58a01f1c8 error recovery in rename and check grammar: report all errors in a module before terminating 2008-05-30 16:45:48 +00:00
aarne
ac9ce7d7e8 started Finnish 1.4 2008-05-30 09:39:29 +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
bjorn
bec9d06fae Change setOptimization to produce Options, not a function over Options. 2008-05-30 15:20:09 +00:00
bjorn
7b52464a92 Added setOptimization function to GF.Infra.Options. I will need to do similar things for other options. 2008-05-30 13:56:50 +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
3d2ce9216d don't need SyntaxTree anymore. Use PGF.Data.Exp directly 2008-05-30 07:23:00 +00:00
krasimir
3f2f0d1bea change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
krasimir
cb374f5617 drop the GF.Command.* dependencies in the library 2008-05-29 16:53:24 +00:00
aarne
a65be9ef42 fixing number of interrogatives in English Structural 2008-05-29 16:16:19 +00:00
krasimir
f116071ce5 drop the dependency to GF.Infra.PrintClass from the Library 2008-05-29 15:15:00 +00:00
krasimir
9d52772d86 move the parsing related stuff to GF.GFCC.Parsing 2008-05-29 12:38:09 +00:00
krasimir
7fc0aec243 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +00:00
krasimir
97569244af move GF.Formalism.FCFG types to GF.GFCC.DataGFCC 2008-05-29 12:08:45 +00:00
krasimir
687173736c simplify FSymbol type 2008-05-29 11:43:28 +00:00
krasimir
ce03503702 Simplify the Input type. Remove Edge and use only Range type 2008-05-29 11:20:40 +00:00
krasimir
ad62be0dde remove Symbol type 2008-05-29 11:00:21 +00:00
krasimir
a8acdd5cc5 simplify the Profile type and remove the NameProfile type 2008-05-29 10:55:34 +00:00
aarne
99889b54c8 removed extra subex in suffixOptimize 2008-05-29 09:51:37 +00:00
aarne
10264a1d13 type computed in table T [...] 2008-05-29 08:23:23 +00:00
bjorn
ea17e2678b Only print \n instead of CPU time in putPointE when printing the text message. This avoids printings lots of empty lines in silent mode. 2008-05-29 08:06:56 +00:00
bjorn
972df6996f Copy startcat flag to .gfo file. 2008-05-29 08:01:55 +00:00
krasimir
d55f529a6e if optShowCPUTime is off just print \n in putPointE 2008-05-29 07:34:29 +00:00
bjorn
0a0412c036 Oops, inverted meaning of optBuildParser. 2008-05-28 19:56:12 +00:00
bjorn
22a165c266 Some printing / verbosity fixes. 2008-05-28 15:56:37 +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