aarne
b3af35a88e
show "error" in run interruptibly mode in GFI
2008-09-09 06:58:38 +00:00
aarne
56173a9fdb
enable matching of ++ strings with regular patterns
2008-09-09 06:36:36 +00:00
aarne
efd1b4fb73
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
9884983762
convert all values in shell pipes to strings
2008-09-04 09:03:02 +00:00
bjorn
dbe3571fcc
Added --haskell-prefix option for changing the constructor prefix in generated Haskell modules.
2008-09-03 15:42:11 +00:00
peb
8952a626d0
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
2efc33329e
treatment of Int: not always PredefAbs but can be PredefCnc
2008-09-03 09:33:37 +00:00
bjorn
f246747496
Completed SISR 1.0 support (untested).
2008-08-24 14:53:21 +00:00
bjorn
c42e4c0690
Export modifyFlags and modifyModuleFlags from GF.Infra.Options.
2008-08-24 14:52:49 +00:00
aarne
65e92e6dab
infForm added to Catalan ; debugging alternative in PGF generation
2008-08-23 14:26:34 +00:00
bjorn
849c146973
UTF8 encode all generated XML.
2008-08-22 09:47:42 +00:00
bjorn
acf1a17268
In GF.Compile.Export, output file name extensions should not have double dots.
2008-08-22 09:27:44 +00:00
bjorn
243bd895e4
Added srgs_xml_nonrec output format.
2008-08-22 08:43:58 +00:00
aarne
b962c3a0d3
alternative prtType to help debugging overload resolution errors
2008-08-20 06:44:58 +00:00
bjorn
4925580877
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
65a25ad181
bronzeage grammar restored except for three ones with issues ; arabic transliteration added
2008-08-16 18:55:28 +00:00
aarne
20fe8a8c20
improved error message in pgf compilation to help debugging
2008-08-16 12:27:59 +00:00
aarne
1302960992
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
b296099441
Include concrete syntax flags in generated JS.
2008-08-13 12:08:11 +00:00
bjorn
428d92eac0
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
bff0a96b0b
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
ae83ab19ed
version-related changes in Makefile and help
2008-06-27 09:09:29 +00:00
aarne
4a9bc587a5
moved interruption to GFI level to capture all commands
2008-06-26 21:01:51 +00:00
aarne
9d909f32cf
fixed decodeUTF8 for pgf; removed old resources from darcs
2008-06-26 19:41:25 +00:00
aarne
544fc47489
oops, forgot add Coding
2008-06-26 18:48:28 +00:00
aarne
7f9a0cdd34
uniform encoding: gfo and pgf in UTF8, internal in unicode
2008-06-26 16:35:45 +00:00
aarne
712717e461
utf8 adjustments
2008-06-26 06:52:01 +00:00
bjorn
83318d0757
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
5fcd5c4f73
added a slot for Urdu in Text.Transliterations
2008-06-25 17:42:19 +00:00
aarne
c5c6d13546
changed names of resource-1.3; added a note on homepage on release
2008-06-25 16:54:35 +00:00
aarne
7d721eb16e
removed src for 2.9
2008-06-25 16:43:48 +00:00
aarne
a65be9ef42
fixing number of interrogatives in English Structural
2008-05-29 16:16:19 +00:00
meza
9f1e3e7b89
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
50a1381a27
print the "linking..." message when building the GFCC code
2008-04-29 09:44:43 +00:00
krasimir
dd713cf28f
let the putPointE print the time in msec
2008-04-29 09:43:35 +00:00
krasimir
46ef4edf59
remove the obsolete putCPU, putPoint and putPoint' functions
2008-04-29 09:22:57 +00:00
krasimir
b2701fe4e0
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
8184dc5512
use cannonicalizePath in getFilePathMsg. This returns an absolute path and removes the .. indirection
2008-04-25 15:53:02 +00:00
krasimir
3aeb52b2b4
completely rewriten readFiles implementation. Much simpler and more efficient
2008-04-25 15:50:54 +00:00
krasimir
3efe9ea55d
use putStrLn instead of print to dump error messages. This avoids the double quotes
2008-04-25 15:49:53 +00:00
krasimir
e332bd6214
fix the System.FilePath import for Posix
2008-04-22 20:06:05 +00:00
krasimir
b5e4b73273
fix complete pattern in isOldFile
2008-04-22 13:09:14 +00:00
krasimir
30f221cbb4
gfLibraryPath is actually an environment variable not a file path. Use the current directory instead.
2008-04-22 12:18:39 +00:00
krasimir
2a7c68ad65
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
e16215940e
use the standard System.FilePath module instead of our own broken file path manipulation functions
2008-04-22 11:39:46 +00:00
krasimir
caa6082b82
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
082668f182
Use Happy grammar for imports extraction instead of hand made shallow crapy grammar
2008-04-22 08:33:23 +00:00
krasimir
1858db942c
Some more ByteString related chandes in GF2
2008-04-17 13:22:10 +00:00
krasimir
4a8346086d
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
07900af066
gf3 should not exit if there is a syntax error in the file
2008-04-17 12:50:51 +00:00