Commit Graph

279 Commits

Author SHA1 Message Date
aarne
4f560ea668 debug information in GrammarToGFCC 2008-09-09 14:04:37 +00:00
aarne
b3af35a88e show "error" in run interruptibly mode in GFI 2008-09-09 06:58:38 +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
65e92e6dab infForm added to Catalan ; debugging alternative in PGF generation 2008-08-23 14:26:34 +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
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
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
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
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
krasimir
50a1381a27 print the "linking..." message when building the GFCC code 2008-04-29 09:44:43 +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
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
07900af066 gf3 should not exit if there is a syntax error in the file 2008-04-17 12:50:51 +00:00
aarne
2a314b679d putting pattern macros in place (not properly tested yet) 2008-03-15 21:02:59 +00:00
aarne
cccccd5ec1 switched to unmodified BNFC-generated components 2008-03-15 14:53:42 +00:00
aarne
db0456d993 coding flag as pragma in files 2008-03-11 14:37:10 +00:00
aarne
2994111b95 new Finnish paradigms integrated 2008-03-07 14:47:10 +00:00
aarne
799fd2c3e5 finalizing experiments with Finnish nouns 2008-01-04 15:54:40 +00:00
bringert
203a6b62bc 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
ad991ef299 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
3e108b98dd subex elim in gfr generation 2008-01-01 23:31:12 +00:00
bringert
070ccd045d Added newlines and ends of some files. This makes sed happy. 2007-12-20 17:07:56 +00:00
aarne
eb10ccbe7c 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
61a9bdbe34 removed dep. on GFCCRaw 2007-12-14 09:25:18 +00:00
aarne
03589b5a3c restored CanonToGFCC as a wrapper of GFCC generation 2007-12-14 07:31:53 +00:00
aarne
095018c8e4 new GFCC concrete syntax in place everywhere 2007-12-13 20:19:47 +00:00
aarne
16e52b231a partial check of dependencies with restricted inheritance 2007-11-08 23:34:45 +00:00
aarne
01bc4c138e the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out) 2007-10-21 10:01:14 +00:00
bernardy
cd75d0ed13 Slightly nicer output when reading old grammars 2007-10-15 08:05:33 +00:00
kr.angelov
6bc3dc45b6 FCat is just a plain integer now 2007-10-12 16:00:37 +00:00
aarne
280493064c removing a trace 2007-10-12 08:42:52 +00:00
aarne
674dea6d57 check circularity in param 2007-10-12 08:37:57 +00:00
aarne
d24f495274 cleaned up obsolete GFCC references 2007-10-06 07:37:44 +00:00
aarne
122546b9d6 gf works with the new gfcc format 2007-10-05 12:54:29 +00:00
aarne
99d9def10e order of FCFGS in shell state. 2007-09-28 07:06:53 +00:00
kr.angelov
cd213f3e56 remove FTypes module and move all definitions to Formalism.FCFG 2007-09-24 08:12:11 +00:00
kr.angelov
9efddd16ce remove some redundant dependencies from FCFG 2007-09-23 20:01:25 +00:00
aarne
121c247d15 compact printing of gf files 2007-09-20 21:51:54 +00:00