Commit Graph
62 Commits
Author SHA1 Message Date
krasimir 60c2d054ee the shell now supports cp1251 coding with se command. works with the word completion as well 2008-06-27 10:33:46 +00:00
krasimir 7e6a3cf32e remove the comments about the meta variables. They are not relevant anymore 2008-06-23 14:32:55 +00:00
krasimir 942bd31273 typo in the PGF documentation 2008-06-23 14:23:14 +00:00
krasimir cec5143092 added type signature for expr2tree to make it visible for haddock 2008-06-23 14:12:40 +00:00
krasimir f62c70bdd5 the Makefile should generate Paths_gf.hs with GF_DATA_DIR instead of GF_LIB_DIR 2008-06-23 08:53:09 +00:00
krasimir 8b47619361 fix Haskell embedded grammars 2008-06-23 08:48:17 +00:00
krasimir 79bd6c2096 yBGLexicon is not part of the distribution -> remove from cabal 2008-06-19 15:05:59 +00:00
krasimir 883e96b0c5 move the prelude sources to the prelude directory and add the resource library to cabal 2008-06-19 14:16:05 +00:00
krasimir 4dd62417dc split the Exp type to Tree and Expr 2008-06-19 12:48:29 +00:00
krasimir 486d21cd7a fix the command line parser 2008-06-15 09:21:59 +00:00
krasimir 96230f84f5 fix the tree extractor in the incremental parser to check for cyclic charts and coercion rules. 2008-06-12 13:34:47 +00:00
krasimir 79cbcdad2d add generation of erasing PMCFG grammars 2008-06-12 13:11:38 +00:00
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
krasimir aa5cff205d force the interpreter to flush the output. usefull for the testsuite 2008-06-08 10:35:19 +00:00
krasimir 4268d6219b longname, synopsis and explanation for all commands 2008-06-05 20:48:24 +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
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
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
krasimir 150940b870 cleaned up and documented PGF API 2008-05-30 13:07:11 +00:00
krasimir 8bb0c32a9c replace GFCC with PGF in (almost) all places 2008-05-30 11:15:33 +00:00
krasimir 1172539a95 change the PGF.Data.Exp type 2008-05-30 09:10:28 +00:00
krasimir 1077fa1f30 don't need SyntaxTree anymore. Use PGF.Data.Exp directly 2008-05-30 07:23:00 +00:00
krasimir 88d3f61f41 change the library root namespace from GF.GFCC to PGF 2008-05-29 17:55:05 +00:00
krasimir 1bcc4aab81 drop the GF.Command.* dependencies in the library 2008-05-29 16:53:24 +00:00
krasimir 96bdd18dc3 drop the dependency to GF.Infra.PrintClass from the Library 2008-05-29 15:15:00 +00:00
krasimir 77e05b0b36 rearrange the other-modules field 2008-05-29 12:40:32 +00:00
krasimir ecfb1f5e01 move the parsing related stuff to GF.GFCC.Parsing 2008-05-29 12:38:09 +00:00
krasimir 9c2d27b8d1 move GF.Parsing.FCFG.PInfo to GF.GFCC.BuildParser and rename FCFPInfo to ParserInfo 2008-05-29 12:27:26 +00:00
krasimir 9a759a66dc move GF.Formalism.FCFG types to GF.GFCC.DataGFCC 2008-05-29 12:08:45 +00:00
krasimir 363ddd7b91 simplify FSymbol type 2008-05-29 11:43:28 +00:00
krasimir 4d1809ef2d Simplify the Input type. Remove Edge and use only Range type 2008-05-29 11:20:40 +00:00
krasimir bc578a0871 remove Symbol type 2008-05-29 11:00:21 +00:00
krasimir 64d3a1226d simplify the Profile type and remove the NameProfile type 2008-05-29 10:55:34 +00:00
krasimir 152c5698ce if optShowCPUTime is off just print \n in putPointE 2008-05-29 07:34:29 +00:00
krasimir 1bc74749aa move GF.Conversion.SimpleToFCFG GF.Compile.GenerateFCFG 2008-05-28 08:35:31 +00:00
krasimir ba6a2b5d6e print the "linking..." message when building the GFCC code 2008-04-29 09:44:43 +00:00
krasimir 6550daf31c let the putPointE print the time in msec 2008-04-29 09:43:35 +00:00
krasimir 4e4734f5a3 remove the obsolete putCPU, putPoint and putPoint' functions 2008-04-29 09:22:57 +00:00
krasimir e62c5b71c2 add ModEnv to CompileEnv. This removes the need to read one and the same time twice when multiple grammars are loaded. 2008-04-29 09:03:43 +00:00
krasimir 0b47519d44 use cannonicalizePath in getFilePathMsg. This returns an absolute path and removes the .. indirection 2008-04-25 15:53:02 +00:00
krasimir d4832b4eeb completely rewriten readFiles implementation. Much simpler and more efficient 2008-04-25 15:50:54 +00:00
krasimir 46c9a500df use putStrLn instead of print to dump error messages. This avoids the double quotes 2008-04-25 15:49:53 +00:00
krasimir 955a5db693 fix the System.FilePath import for Posix 2008-04-22 20:06:05 +00:00
krasimir d80c1b22ce fix complete pattern in isOldFile 2008-04-22 13:09:14 +00:00
krasimir 43f30025f4 gfLibraryPath is actually an environment variable not a file path. Use the current directory instead. 2008-04-22 12:18:39 +00:00
krasimir 375754e106 move gfLibraryPath and gfGrammarPath to UseIO. Now they are accessible and there is only one place to change if you want to use different envVar 2008-04-22 12:12:29 +00:00
krasimir fc111c1a79 use the standard System.FilePath module instead of our own broken file path manipulation functions 2008-04-22 11:39:46 +00:00
krasimir 7a6adbf359 isOldFile should use the real lexer instead of "words" this avoids the need for custom unComm function 2008-04-22 08:52:11 +00:00
krasimir 92917e6e5e Use Happy grammar for imports extraction instead of hand made shallow crapy grammar 2008-04-22 08:33:23 +00:00
krasimir 4c73735de9 Some more ByteString related chandes in GF2 2008-04-17 13:22:10 +00:00
krasimir 21e5a60ce2 ByteString.readFile should be used instead of readFileStrict. This fixes the problem with the open files 2008-04-17 12:56:46 +00:00
krasimir 0ea2798b3c gf3 should not exit if there is a syntax error in the file 2008-04-17 12:50:51 +00:00
krasimir 6bb28bcec4 optimized incremental algorithm 2008-03-30 19:57:05 +00:00
krasimir 389ba6058d For Windows change the Console Code Page to the default ANSI code page. This fixes the problem with cyrilic. 2008-02-21 15:58:19 +00:00
krasimir 671b6b4dff For Windows get the default GF_LIB_PATH from the executable path 2008-02-21 15:56:09 +00:00
krasimir a4bded9f3a add experimental incremental parser for FCFG 2008-02-18 16:58:27 +00:00
krasimir 5b4a228215 fix the singleton selector generation 2008-02-14 12:48:41 +00:00