bjorn
34c5617ef6
Got SRGS ABNF generation to compile.
2008-09-23 12:56:25 +00:00
bjorn
3a7888e660
A somewhat better solution to the words/UTF-8 problem: do encoding last, but only on what appears to be string literals.
2008-09-15 13:16:04 +00:00
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
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
3d22963267
infForm added to Catalan ; debugging alternative in PGF generation
2008-08-23 14:26:34 +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
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
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
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
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
krasimir
ba6a2b5d6e
print the "linking..." message when building the GFCC code
2008-04-29 09:44:43 +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
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
0ea2798b3c
gf3 should not exit if there is a syntax error in the file
2008-04-17 12:50:51 +00:00
aarne
6cbb8086c8
putting pattern macros in place (not properly tested yet)
2008-03-15 21:02:59 +00:00
aarne
c73bc4f996
switched to unmodified BNFC-generated components
2008-03-15 14:53:42 +00:00
aarne
aa94e34098
coding flag as pragma in files
2008-03-11 14:37:10 +00:00
aarne
5f731b3ad6
new Finnish paradigms integrated
2008-03-07 14:47:10 +00:00
aarne
d550049873
finalizing experiments with Finnish nouns
2008-01-04 15:54:40 +00:00
bringert
a68b2850e7
Added -noparse flag to gfc. In the process, I refactored GF.Devel.GFC and GF.Command.Importing to use a common source to gfcc compilation function in the new module GF.Compile.API.
2008-01-04 14:51:20 +00:00
bringert
af1a3a2473
Store FCFPInfo (all information needed for FCFG parsing) in GFCC files, and in the internal DataGFCC.GFCC structure. The parsing information format is still in flux.
2008-01-03 17:10:05 +00:00
aarne
b3da2791fd
subex elim in gfr generation
2008-01-01 23:31:12 +00:00
bringert
4ab0df67c5
Added newlines and ends of some files. This makes sed happy.
2007-12-20 17:07:56 +00:00
aarne
7551c70db6
restored Int size and last ; added lib/prelude to be the last in any grammar path
2007-12-16 22:24:36 +00:00
aarne
f85ba4bfa0
removed dep. on GFCCRaw
2007-12-14 09:25:18 +00:00
aarne
745f6ac83f
restored CanonToGFCC as a wrapper of GFCC generation
2007-12-14 07:31:53 +00:00
aarne
b447cf1a04
new GFCC concrete syntax in place everywhere
2007-12-13 20:19:47 +00:00
aarne
5e0e82250e
partial check of dependencies with restricted inheritance
2007-11-08 23:34:45 +00:00
aarne
a9472f91e5
the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out)
2007-10-21 10:01:14 +00:00
bernardy
43e9eb3a1a
Slightly nicer output when reading old grammars
2007-10-15 08:05:33 +00:00
kr.angelov
873a160537
FCat is just a plain integer now
2007-10-12 16:00:37 +00:00
aarne
1fb749a5ec
removing a trace
2007-10-12 08:42:52 +00:00
aarne
cf3fcbf582
check circularity in param
2007-10-12 08:37:57 +00:00