Commit Graph

80 Commits

Author SHA1 Message Date
krasimir
1dfa67a30a change the data types and the syntax in PGF to match the new syntax for implict arguments 2009-09-20 11:43:41 +00:00
krasimir
bb0be1e964 export the morphology API from PGF 2009-09-28 12:06:20 +00:00
krasimir
eb139fd705 better error message for the ai command 2009-09-19 10:24:02 +00:00
krasimir
2bb3229a84 command ai doesn't need typechecking from the shell 2009-09-18 14:43:04 +00:00
krasimir
e55b70a9af added pt -transfer 2009-09-17 15:47:06 +00:00
krasimir
347e5db212 bugfix in the ai command 2009-09-17 13:14:04 +00:00
krasimir
7a169dd586 clean up the GF.Grammar API 2009-09-14 16:23:23 +00:00
krasimir
d67f2ad970 added needsTypeCheck parameter to CommandInfo. The argument to the command is typechecked only if needsTypeCheck=True 2009-09-13 15:39:11 +00:00
krasimir
d294b70395 polish the PGF API and make Expr and Type abstract types. Tree is a type synonym of Expr 2009-09-11 13:45:34 +00:00
krasimir
be3dc0ef9e now the datatype Tree is only internal. All API functions are working with Expr directly. Commands gt, gr, p and rf filter out the output via the typechecker 2009-09-08 08:40:28 +00:00
krasimir
54dbfeef48 hopefully complete and correct typechecker in PGF 2009-09-06 20:31:52 +00:00
aarne
5bb66da259 transliteration now needs addition only in one file; a code can be more than 2 chars; ancientgreek added 2009-08-07 13:20:45 +00:00
aarne
19a1cd392d function for printing the help file in txt2tags 2009-06-20 07:02:13 +00:00
krasimir
b0283d31a2 in the ai command don't show the fun keyword if there aren't any functions. 2009-06-18 17:44:29 +00:00
krasimir
0c46a129e6 now in the command shell the primary type in the pipe is Expr not Tree. This makes the pt -compute and pt -typecheck more interesting 2009-05-23 21:33:52 +00:00
krasimir
f9c877eec6 some work on evaluation with abstract expressions in PGF 2009-05-22 18:54:51 +00:00
krasimir
e5399f2d0e refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
krasimir
bf044db5b2 now a single line comment (--) is recongized as an empty command. Usefull for GF shell scripts 2009-05-20 12:10:54 +00:00
krasimir
f3b02ad279 in command 'ai' send the output through the pipe 2009-05-13 06:49:37 +00:00
krasimir
d6e923d8cc now command 'ai' prints the list of functions for given category 2009-05-13 06:27:31 +00:00
krasimir
f4164303d0 added command ai which prints information about given identifier 2009-05-12 20:52:18 +00:00
aarne
592fca98be on-line course announced on the summer school page 2009-04-14 08:12:45 +00:00
aarne
7138a1c201 hebrew transliteration added 2009-04-08 20:01:35 +00:00
aarne
14f606449c examples of file conversion with ps 2009-03-28 13:41:29 +00:00
aarne
30cd3704dc flag -env=quotes (and possible other flags) to restrict ps 2009-03-18 12:49:46 +00:00
aarne
8eeb6ae89e Greek (modern) transliteration scheme 2009-03-17 22:04:20 +00:00
krasimir
e647de7149 fix the handling of flag coding 2009-02-23 14:17:16 +00:00
krasimir
0296492f9d Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +00:00
krasimir
72fa768613 PMCFG pretty printer 2009-02-07 23:31:22 +00:00
aarne
2bccc3e405 visualization of word alignment based on bracketing (command aw); does not work for syncategorematic words yet 2008-12-15 10:33:53 +00:00
aarne
10fbaa6dec bracketing with tree node reference: l -bracket 2008-12-13 20:19:37 +00:00
aarne
e8898ffd69 morphological analyser in shell state - now reasonably fast 2008-12-12 08:12:24 +00:00
aarne
cad49a225d restored "?" as system pipe command 2008-11-18 15:31:30 +00:00
aarne
0d6b1081ff print "no trees found" in GF shell if an empty tree list is returned by p or pt 2008-11-10 16:23:09 +00:00
aarne
79ef938590 lexer documentation in help and tutorial updated 2008-11-10 15:53:38 +00:00
krasimir
a35919542f remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
bjorn
335a8d6977 Added Read and Show instances for CId. Also added readCId :: String -> Maybe CId, and use that for readLanguage. 2008-10-20 11:59:31 +00:00
bjorn
29ca3b692b Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
krasimir
1ddb738459 preparation for dep. types. The -cat option can take any type instead of just a category. The PGF API is generalized as well. 2008-10-20 08:42:39 +00:00
krasimir
286be2e4d9 move PGF.Quiz to GF.Quiz. It is not part of the PGF API 2008-10-19 16:38:56 +00:00
bjorn
67fabb0e0d In shell "p" command, only try languages that have a parser. 2008-10-16 11:33:09 +00:00
aarne
65bafe2a3b restored the possibility to compile .cf files to gf 2008-10-15 15:08:38 +00:00
aarne
b6666624a0 rudimentary abstract syntax type checker and solver in PGF 2008-10-14 14:34:08 +00:00
aarne
df08e52d5c paraphrase works a little better now ; added examples/paraphrase for testing 2008-10-14 11:19:30 +00:00
aarne
8abf7f5c8a added a paraphrase method applying def's in both directions, in subtrees, and step by step; doesn't work properly yet 2008-10-13 16:41:21 +00:00
aarne
8555c65c36 a first version of PGF.AbsCompute 2008-10-10 15:53:17 +00:00
aarne
e56e6483f6 simplified 1.5 by removing mathematical/ 2008-10-06 12:49:13 +00:00
aarne
f376576af0 added a command for tree operations and started a module for defining them 2008-10-05 19:49:26 +00:00
bjorn
7c30f07f75 Fail more gracefully on unknown file name extensions. 2008-10-02 12:32:03 +00:00
aarne
d53f8e0644 added mode 'gf --run' for running silently a script ; made quizzes handle character encoding correctly ; for this end, collected coding functions in GF.Text.Coding 2008-10-01 16:01:51 +00:00