1
0
forked from GitHub/gf-core
Commit Graph

75 Commits

Author SHA1 Message Date
krasimir 49ca46d958 bugfix in the ai command 2009-09-17 13:14:04 +00:00
krasimir 14dfbcc624 clean up the GF.Grammar API 2009-09-14 16:23:23 +00:00
krasimir cc151c4279 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 1cdf171251 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 28a7c4b5c7 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 b97d6abb81 hopefully complete and correct typechecker in PGF 2009-09-06 20:31:52 +00:00
aarne acb930a349 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 30f90d707a function for printing the help file in txt2tags 2009-06-20 07:02:13 +00:00
krasimir 13232a5e81 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 e5c8636a5f 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 41b263cf6a some work on evaluation with abstract expressions in PGF 2009-05-22 18:54:51 +00:00
krasimir 7db4b641ce refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
krasimir 0b2e093416 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 2c68b1ba88 in command 'ai' send the output through the pipe 2009-05-13 06:49:37 +00:00
krasimir fdba7d20ee now command 'ai' prints the list of functions for given category 2009-05-13 06:27:31 +00:00
krasimir b037cbc361 added command ai which prints information about given identifier 2009-05-12 20:52:18 +00:00
aarne f3fdd5ea2d on-line course announced on the summer school page 2009-04-14 08:12:45 +00:00
aarne 8bd97f9e75 hebrew transliteration added 2009-04-08 20:01:35 +00:00
aarne 215d74e58e examples of file conversion with ps 2009-03-28 13:41:29 +00:00
aarne ba2c0a7b02 flag -env=quotes (and possible other flags) to restrict ps 2009-03-18 12:49:46 +00:00
aarne 793dd89f7e Greek (modern) transliteration scheme 2009-03-17 22:04:20 +00:00
krasimir 6be08d77e0 fix the handling of flag coding 2009-02-23 14:17:16 +00:00
krasimir 01fef5109c Perhaps -> Maybe refactoring and better error message for conflicts during module update 2009-02-23 12:42:44 +00:00
krasimir 5c2ce87cde PMCFG pretty printer 2009-02-07 23:31:22 +00:00
aarne 10675e29ca 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 3e293ae3e0 bracketing with tree node reference: l -bracket 2008-12-13 20:19:37 +00:00
aarne 6e511e5fbd morphological analyser in shell state - now reasonably fast 2008-12-12 08:12:24 +00:00
aarne 288ffd290a restored "?" as system pipe command 2008-11-18 15:31:30 +00:00
aarne ca59050abc 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 d9ff5aa48c lexer documentation in help and tutorial updated 2008-11-10 15:53:38 +00:00
krasimir 03d86ba05c remove some redundant imports of GF.Text.UTF8 2008-10-28 15:47:04 +00:00
bjorn d41616dd6a 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 a26290659d Replace Category with Type in the PGF API. Added readLanguage and showLanguage. 2008-10-20 11:35:05 +00:00
krasimir eb0fefec28 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 9837fb8fb1 move PGF.Quiz to GF.Quiz. It is not part of the PGF API 2008-10-19 16:38:56 +00:00
bjorn 176dc3e730 In shell "p" command, only try languages that have a parser. 2008-10-16 11:33:09 +00:00
aarne 856c31a64b restored the possibility to compile .cf files to gf 2008-10-15 15:08:38 +00:00
aarne e4dc63f665 rudimentary abstract syntax type checker and solver in PGF 2008-10-14 14:34:08 +00:00
aarne a11f1b1437 paraphrase works a little better now ; added examples/paraphrase for testing 2008-10-14 11:19:30 +00:00
aarne 54f8fd9ec1 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 4e795bab9b a first version of PGF.AbsCompute 2008-10-10 15:53:17 +00:00
aarne e765b97fc4 simplified 1.5 by removing mathematical/ 2008-10-06 12:49:13 +00:00
aarne 394050d9f7 added a command for tree operations and started a module for defining them 2008-10-05 19:49:26 +00:00
bjorn 8fb068df6a Fail more gracefully on unknown file name extensions. 2008-10-02 12:32:03 +00:00
aarne 429092ac6a 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
aarne cbde244ac1 Telugu transliteration 2008-09-23 08:49:58 +00:00
aarne b3803424ff convert all values in shell pipes to strings 2008-09-04 09:03:02 +00:00
aarne 66c927937a bronzeage grammar restored except for three ones with issues ; arabic transliteration added 2008-08-16 18:55:28 +00:00
aarne f7b2a83059 version-related changes in Makefile and help 2008-06-27 09:09:29 +00:00
aarne 33eb6d899f moved interruption to GFI level to capture all commands 2008-06-26 21:01:51 +00:00