1
0
forked from GitHub/gf-core
Commit Graph

1119 Commits

Author SHA1 Message Date
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
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
meza
08f92cd180 Changed JS generation to avoid grammar reference files. Removed grammar reference file generation. 2008-04-11 13:52:13 +00:00
bringert
f439895ef9 Added GF.GFCC.Macros.lookStartCat. Changed GF.GFCC:API to use it (before, startCat always returned "S"!). GFCCtoJS has not been changed, Moises will do that. 2008-04-07 15:57:04 +00:00
bringert
898c079d84 GF.GFCC.API is for .gfcc, not.gfcm 2008-04-07 15:40:41 +00:00
krasimir
6bb28bcec4 optimized incremental algorithm 2008-03-30 19:57:05 +00:00
aarne
9a6f1720a9 miising ErrM added... 2008-03-18 15:42:51 +00:00
aarne
ca7bcf91ca merging recent changes in Finnish 2008-03-17 12:46:53 +00:00
aarne
bae424218f debugging GFCC generation 2008-03-16 13:42:32 +00:00
aarne
6cbb8086c8 putting pattern macros in place (not properly tested yet) 2008-03-15 21:02:59 +00:00
aarne
e60237136b fixed bug leading to looping in Devel.Compute 2008-03-15 19:00:09 +00:00
aarne
c73bc4f996 switched to unmodified BNFC-generated components 2008-03-15 14:53:42 +00:00