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
aarne
8d0aaf0b24
cleaned up obsolete GFCC references
2007-10-06 07:37:44 +00:00
aarne
48623470cd
gf works with the new gfcc format
2007-10-05 12:54:29 +00:00
aarne
7d7702c375
order of FCFGS in shell state.
2007-09-28 07:06:53 +00:00
kr.angelov
6aacec3591
remove FTypes module and move all definitions to Formalism.FCFG
2007-09-24 08:12:11 +00:00
kr.angelov
0cd5e62e83
remove some redundant dependencies from FCFG
2007-09-23 20:01:25 +00:00
aarne
6e4104ffa9
compact printing of gf files
2007-09-20 21:51:54 +00:00
aarne
7825a1a1c5
adapted GFCC2FCFG to other uses of GFCC, made it to default parser
2007-09-19 13:49:12 +00:00
kr_angelov
3f183ce821
GFCC to FCFG conversion
2006-12-28 16:45:57 +00:00
aarne
c27087d14d
bud fix in reading gfc without gfr
2007-09-17 06:58:41 +00:00
aarne
133b716338
strict reading of files; bug fix in readFiles in ShellState
2007-09-16 20:52:27 +00:00
aarne
63f060dcf6
hacky solution to name resolution warnings
2007-07-05 14:08:58 +00:00
aarne
c7f488b11e
contravariance in forgiving lock fields
2007-07-02 11:53:04 +00:00
aarne
e3f1210369
extended functor syntax
2007-06-19 18:12:35 +00:00
aarne
c212633be8
fixed the mysterious "file..gfc" error
2007-06-18 21:21:13 +00:00