Commit Graph
17 Commits
Author SHA1 Message Date
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