1
0
forked from GitHub/gf-core
Commit Graph

1134 Commits

Author SHA1 Message Date
krasimir
c4c1f6d076 print the search path when we can't find a module 2008-09-10 08:55:16 +00:00
aarne
e7106b6181 better error msg for missing record labels 2008-09-09 19:43:33 +00:00
aarne
1bd799d006 completed IdiomCat to compile api and math 2008-09-09 16:11:05 +00:00
aarne
8cde25475b missing case in param lookup table in GrammartoGFCC 2008-09-09 15:33:56 +00:00
aarne
bc6b91799a debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
aarne
033da07c39 show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +00:00
aarne
63a706b109 enable matching of ++ strings with regular patterns 2008-09-09 06:36:36 +00:00
aarne
bdcfcda786 capitals in lextext and unlextext; notice that a sentence starting with a proper name now gets lexed with a small letter if lextext is used 2008-09-05 09:21:48 +00:00
aarne
b3803424ff convert all values in shell pipes to strings 2008-09-04 09:03:02 +00:00
bjorn
207ddc4cb6 Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules. 2008-09-03 15:42:11 +00:00
peb
74826158cb new PGF output format: prolog syntax
* output a PGF grammar in prolog readable syntax
* variables in abstract syntax (hypotheses and lambda-abstractions) 
  are translated to unique logical variables
* PGF terms in concrete syntax are translated to more prolog-like terms
2008-09-03 09:04:09 +00:00
aarne
cf00c0c2a9 treatment of Int: not always PredefAbs but can be PredefCnc 2008-09-03 09:33:37 +00:00
bjorn
23a6375ced Completed SISR 1.0 support (untested). 2008-08-24 14:53:21 +00:00
bjorn
a415c83319 Export modifyFlags and modifyModuleFlags from GF.Infra.Options. 2008-08-24 14:52:49 +00:00
aarne
3d22963267 infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +00:00
bjorn
52af19bd64 UTF8 encode all generated XML. 2008-08-22 09:47:42 +00:00
bjorn
b6785df0d2 In GF.Compile.Export, output file name extensions should not have double dots. 2008-08-22 09:27:44 +00:00
bjorn
cb98536de1 Added srgs_xml_nonrec output format. 2008-08-22 08:43:58 +00:00
aarne
74373394a6 alternative prtType to help debugging overload resolution errors 2008-08-20 06:44:58 +00:00
bjorn
dc1db399f6 When producing PGF, do UTF-8 encoding of the whole file after pretty printing instead of walking through the PGF structure before pretty-printing.
The old code was brittle, and only converted strings in the lins and opers, not in printnames and parsers. The old code also double encoded some grammars when using gfc to combine PGF files.
2008-08-18 12:34:56 +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
ddbeff3028 improved error message in pgf compilation to help debugging 2008-08-16 12:27:59 +00:00
aarne
0ce04f1a6e forgiving names in concrete that are not in abstract, with a warning (no warning guaranteed if this is because restricted inheritance) 2008-08-14 20:25:52 +00:00
bjorn
6619326df0 Include concrete syntax flags in generated JS. 2008-08-13 12:08:11 +00:00
bjorn
5f6691dac3 Set charset to utf-8 when printing html code. This is needed to get Safari to display resdemo.html correctly. 2008-06-27 18:14:19 +00:00
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
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
aarne
ba63991007 fixed decodeUTF8 for pgf; removed old resources from darcs 2008-06-26 19:41:25 +00:00
aarne
accab4e20b oops, forgot add Coding 2008-06-26 18:48:28 +00:00
aarne
ed708ffda6 uniform encoding: gfo and pgf in UTF8, internal in unicode 2008-06-26 16:35:45 +00:00
aarne
f7622321de utf8 adjustments 2008-06-26 06:52:01 +00:00
bjorn
e459cc7771 Include coding flag in .gfo files.
Because the PGF file gets all the flags from the GFO file automatically, we get the coding flag in the PGF file too. This is undesirable, since PGF is supposed to always by in UTF-8.
2008-06-25 18:14:45 +00:00
aarne
5971c110e9 added a slot for Urdu in Text.Transliterations 2008-06-25 17:42:19 +00:00
aarne
e9e80fc389 changed names of resource-1.3; added a note on homepage on release 2008-06-25 16:54:35 +00:00
aarne
b96b36f43d removed src for 2.9 2008-06-25 16:43:48 +00:00
aarne
2505bfc892 fixing number of interrogatives in English Structural 2008-05-29 16:16:19 +00:00
meza
314f147bff JS.cf : Changed the JS grammar to support strings as property names in objects. Changed pretty much all the files in the same folder as well as GFCCToJS.hs and SISR.hs to reflect the changes. 2008-04-29 13:05:24 +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