Commit Graph
100 Commits
Author SHA1 Message Date
krasimir 7db4b641ce refactor the PGF.Expr type and the evaluation of abstract expressions 2009-05-20 21:03:56 +00:00
krasimir 401dfc28d6 some more tests for evaluation in the abstract syntax 2009-05-20 20:27:19 +00:00
krasimir 8f2fb82750 more friendly error message when renaming patterns 2009-05-20 20:24:15 +00:00
krasimir 6de94f5300 fix the generation of warnings in CheckGrammar. They are printed even in quiet mode and the prefix "Warning" is added automatically 2009-05-20 17:05:58 +00:00
krasimir 880665ad0f testcase for parameters with nested records 2009-05-20 16:38:19 +00:00
krasimir 77017c75a7 added testcase for categories with lincat C = {}; 2009-05-20 16:27:12 +00:00
krasimir 0d36ec5879 added testcases for abstract syntax computation 2009-05-20 15:01:52 +00:00
krasimir 5e054f9b09 the treebank test for the resource libraries is moved to the testsuite 2009-05-20 14:59:46 +00:00
krasimir cb6527c018 now 'runghc Setup.hs test' runs a simple extensible testsuite 2009-05-20 14:57:42 +00:00
krasimir 2d1d79a25a Now the toplevel file i.e. from command i is searched both in the current directory and in GF_LIB_PATH 2009-05-20 13:40:55 +00:00
krasimir b45bdaefec simpler algorithm for file searching in the compiler. should be equivalent to the previous one 2009-05-20 13:23:34 +00:00
krasimir 878ad278b5 remove the obsolete testsuite/srg directory 2009-05-20 12:39:32 +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 352ac74b0f examples/test is moved to testsuite 2009-05-20 11:25:00 +00:00
krasimir b6ce113041 removed some debug traces 2009-05-18 15:53:36 +00:00
krasimir 5f986f5992 added filtering for useless productions in PMCFG 2009-05-18 15:52:10 +00:00
krasimir 3b65d88336 the new PMCFG compilation scheme is pushed. the old version is kept in GeneratePMCFGOld.hs (for now). 2009-05-16 12:14:47 +00:00
krasimir 2a80a301d4 implement command 'runghc Setup.hs test' 2009-05-13 08:44:47 +00:00
krasimir 110d436e85 the check for lincat C = <> is made more robust 2009-05-15 11:27:26 +00:00
krasimir 0dad868f34 if the lincat is empty record the linearizations are derived automatically 2009-05-15 09:34:06 +00:00
krasimir c307fd50c0 added command rgl-none in Setup.hs 2009-05-14 20:12:41 +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
krasimir f283944f5c Setup.hs now builds RGL. the code is borrowed from Make.hs 2009-05-11 06:55:11 +00:00
krasimir 30ebf7fd59 -gfo-files is consulted not only when .gfo files are created but also when we search for them 2009-05-11 06:50:50 +00:00
krasimir b2a40d9e2f Turkish: set coding=utf8 in NumeralsTur.gf 2009-05-09 18:19:44 +00:00
krasimir 37aa3947a5 implement --gfo-dir. before it was recognized but ignored 2009-05-09 18:00:11 +00:00
krasimir 4b8f868975 Turkish: bugfix in mkPron 2009-05-08 08:20:38 +00:00
krasimir 8b69008815 Turkish: implement NumCard and NumNumeral 2009-05-08 08:15:32 +00:00
krasimir 35a4a20845 Turkish: implement UsePron 2009-05-08 07:53:47 +00:00
krasimir 80369830a9 Turkish: harmony2 and harmony4 should be more liberal 2009-05-08 07:52:50 +00:00
krasimir 944267a142 Turkish: add abessive case for the pronouns 2009-05-08 06:14:21 +00:00
krasimir a83a68573d Turkish: fixed vowel harmony 2009-05-07 14:55:38 +00:00
krasimir 95d8fd3be4 Turkish: scratch the NP category 2009-05-07 10:28:47 +00:00
krasimir b0cbba9e0d Turkish: some more nouns in the lexicon and some work on the paradigms. still not complete 2009-05-07 07:41:38 +00:00
krasimir 112de09f6b forgot to add GF.System.UseEditline and GF.System.UseHaskeline 2009-04-30 13:31:22 +00:00
krasimir f9a3925653 conditional support for haskeline, readline and editline 2009-04-30 09:40:48 +00:00
krasimir 2c3ffb85c8 added new Makefile in the top directory which calls Cabal for compilation 2009-04-30 07:57:56 +00:00
krasimir ae6e8ee401 added -gf-lib-path option which overides the value of GF_LIB_PATH 2009-04-30 07:56:22 +00:00
krasimir c6ac4801ad upgrade to GHC 6.10.2 2009-04-30 05:13:55 +00:00
krasimir 9c47cf4168 proper pretty printing of tokens in PGF.PMCFG 2009-04-15 12:10:08 +00:00
krasimir 63ccad9e85 refactor GF.Data.BacktrackM to use the MonadState and Functor classes 2009-04-14 08:07:33 +00:00
krasimir 203d02ef34 raise better error message when decode GFO file 2009-04-02 13:29:03 +00:00
krasimir fda12955fb raise better error message when decode PGF file 2009-04-02 13:25:20 +00:00
krasimir 587549a871 some fragments of Turkish noun morphology 2009-03-27 08:43:43 +00:00
krasimir 5ced40f789 Turkish moved to next-lib 2009-03-27 08:41:55 +00:00
krasimir 90528ec1f1 the first letter of every PN should be in upper case 2009-03-25 17:49:11 +00:00
krasimir cb330815b9 remove the alphabet from DictEng 2009-03-25 17:35:08 +00:00
krasimir 0f959bd418 remove some abreviations like am, pm and bc which are declared as proper names 2009-03-25 17:19:05 +00:00
krasimir a1998b79a4 remove the verb be from DictEng 2009-03-25 17:17:43 +00:00
krasimir af8d589ce0 DictEng to utf8 2009-03-25 17:11:06 +00:00
krasimir 13a8fe8c9e add the compiled Haskell sources for Parser and Lexer 2009-03-17 08:49:06 +00:00
krasimir 9cae779ac5 incomplete support for record types in the abstract syntax 2009-03-16 14:41:49 +00:00
krasimir a2c682cf0e typos in the grammars 2009-03-16 14:39:54 +00:00
krasimir a391c69fd3 use new parser which supports the syntax in GF.Grammar.Grammar directly 2009-03-16 14:10:30 +00:00
krasimir 5597cff5cb export ppLabel from GF.Grammar.Printer 2009-03-15 18:52:27 +00:00
krasimir 3ac05b4f61 some more refactoring 2009-03-15 17:59:49 +00:00
krasimir 3afe18dc57 code cleanup in the typechecker 2009-03-15 17:33:14 +00:00
krasimir 2081347033 update GF.cabal 2009-03-15 17:15:52 +00:00
krasimir daa3235bfa fix typo cs1 -> c2. the whole typechecker was broken before that 2009-03-14 21:02:17 +00:00
krasimir bae62cf7c2 remove the obsolete GF.Infra.PrintClass 2009-03-13 07:00:04 +00:00
krasimir d1276ee52b don't use ByteString.copy in Data.Binary this makes it far too slow 2009-03-12 09:03:55 +00:00
krasimir 85d9c76b5c special cases for printing the build-in PMCFG categories 2009-03-09 18:08:54 +00:00
krasimir 30c1342169 fix the update of overloaded functions 2009-03-05 19:18:51 +00:00
krasimir 10b0a90323 print semicolon after the ind statement 2009-03-05 13:14:17 +00:00
krasimir 993ceb63bc in GF.Grammar.Update - remove the indirection before to print the error message 2009-03-05 09:08:52 +00:00
krasimir 1d675e9c80 remove the spurious adjective sledni_ja__A in DictBul 2009-03-05 08:32:24 +00:00
krasimir bc77eef267 fix the compilation of ExtraBul.gf 2009-03-05 08:25:29 +00:00
krasimir bec544c0ef GF.Grammar.Printer: parenthesis around single identifier are not necessary 2009-03-04 15:22:23 +00:00
krasimir 49e6500c70 another missing case in GF.Grammar.Printer 2009-03-04 13:52:01 +00:00
krasimir 7babfd1da6 qualified/unqualified mode for GF.Grammar.Printer. Used in the "cc" command 2009-03-04 13:41:33 +00:00
krasimir ed6c31f3ef added few missing cases in GF.Grammar.Printer 2009-03-04 12:47:05 +00:00
krasimir 8b844f7279 Bulgarian: fixes in some vocatives 2009-02-25 12:26:47 +00:00
krasimir 421912acfa set the code page for the Romanian grammar to cp1250 2009-02-23 14:19:10 +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 e6fd01066b Graftals in GF. examples/graftals 2009-02-14 14:07:04 +00:00
krasimir 3548610ba1 fixes in the pretty printer for PMCFG 2009-02-08 09:57:16 +00:00
krasimir 5c2ce87cde PMCFG pretty printer 2009-02-07 23:31:22 +00:00
krasimir 14c13cb080 Bulgarian: fixed the paradigm for bizju 2009-02-05 23:47:36 +00:00
krasimir 9d3a142a0b Bulgarian: paradigm 089 was fake -> removed 2009-02-05 23:46:31 +00:00
krasimir 42a2dd3eed Bulgarian: fixes in the noun morphology. vocative forms for all paradigms. MascPersonal gender in the paradigms 2009-02-05 23:42:55 +00:00
krasimir e158ed0f1c Bulgarian: formal and informal numerals + small bugfix 2009-02-05 21:34:55 +00:00
krasimir ddd7ab98d8 tabularLinearize should always generate label names 2009-02-02 09:56:02 +00:00
krasimir 7a882b5c36 another bugfix in the module dependency checker 2009-02-01 21:32:46 +00:00
krasimir 75829ceab3 the new pretty printer is now used for all -dump-* options. added -dump-source. implemented -dump-opt 2009-02-01 12:24:37 +00:00
krasimir 95e8142e1a small fixes in GF.Grammar.Printer 2009-02-01 12:23:58 +00:00
krasimir db9a1acaeb merge Lookup and LookAbs and move some lookup functions from PrGrammar to Lookup 2009-01-31 22:08:12 +00:00
krasimir 5e3a1f7392 the dependency graph now shows all dependencies 2009-01-31 21:15:42 +00:00
krasimir 0e1215a8f1 some dead code elimination in UseIO and ReadFiles 2009-01-31 20:36:41 +00:00
krasimir 6133fcbb5f fix flag handling in combination with binary serialization 2009-01-31 16:53:21 +00:00
krasimir ff0c0085cf bug fix in the module dependencies checker 2009-01-31 10:49:01 +00:00
krasimir 92bb971ea3 the grammars are now recognized by extension i.e. .pgf is grammar just like .php is a PHP script 2009-01-25 22:06:20 +00:00
krasimir 7dfc17cd98 the pgf-server is single-threaded on Windows 2009-01-25 22:04:59 +00:00
krasimir 904282fb87 add Translate-compile.bat 2009-01-25 21:27:41 +00:00
krasimir 7e96a1ae3c add Fridge-compile.bat 2009-01-25 15:12:56 +00:00
krasimir 798380cbd3 hack for pgf-server for Windows 2009-01-25 15:07:29 +00:00
krasimir f6661c3213 remove some more obsolete code 2009-01-23 07:16:46 +00:00
krasimir f0718589df .gfo files in binary format 2009-01-23 06:15:27 +00:00