1
0
forked from GitHub/gf-core
Commit Graph

57 Commits

Author SHA1 Message Date
bringert
6cf8790989 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
a4818eca6d GF.GFCC.API is for .gfcc, not.gfcm 2008-04-07 15:40:41 +00:00
bjorn
17ede4013d Rename gfcats to startupcats in PGF. 2008-02-15 20:13:01 +00:00
aarne
34037dbf3c kotus experiments; bindings in gfcc 2008-02-13 17:47:54 +00:00
bjorn
114f0d1ecc Use isAlpha instead of isLetter to compile with GHC 6.4. Reported by moises. 2008-02-08 09:20:32 +00:00
bjorn
08b9422cba Added PGF version numbers to GFCC file. 2008-02-07 13:48:41 +00:00
aarne
72b81987d7 GFCC: TM with argument; fixed labels from bindings in gfc 2008-01-31 20:56:42 +00:00
aarne
db6e1de1ae gfcc generation with HOAS: var fields appended to records 2008-01-31 16:37:32 +00:00
bjorn
6bddc8df8a Standard format for floats and strings in GFCC. 2008-01-30 17:18:27 +00:00
bjorn
ec1322afae Changed GFCC parser format to only include the FCFG rules and the GF cat -> FCFG cat mapping. The other information is very easy to build on the fly. 2008-01-30 16:39:44 +00:00
bjorn
c4d89577f5 Merge AId and App forms in GFCCRaw. 2008-01-29 15:53:50 +00:00
aarne
2791eee7ff gt command in gf3 2008-01-08 12:22:05 +00:00
bjorn
6cc162e83c GFCCRaw printing: no space in App with no arguments. 2008-01-26 16:46:46 +00:00
bringert
590f095492 Better names for the parsing info components in GFCC. 2008-01-09 13:51:21 +00:00
bringert
a70a170c4b Change "proj" to "P" in GFCC parse rules to save space. 2008-01-07 21:31:45 +00:00
bringert
91acebea56 Replace BNFC-generated PrintGFCCRaw with smaller hand-written one. 2008-01-07 21:31:05 +00:00
bringert
14369ba9d2 Replace BNFC-generated GFCC-parser with a faster and smaller combinator version. 2008-01-04 17:42:28 +00:00
bringert
1204d1972d Oops, I happend to record a temporary change for testing combinator parsing on GFCC. Reverting that. 2008-01-04 15:00:58 +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
bringert
8b1b228ce7 update syntax.txt with the flags and grammar name changes 2007-12-21 17:26:41 +00:00
bringert
6296609baf Merge abstract and global flags and put them at the top level in GFCC files. 2007-12-21 17:25:35 +00:00
bringert
4b02f93eb2 Fixed bug in toGFCC: cflags where mistakenly taken from aflags. 2007-12-21 17:24:59 +00:00
bringert
b10fab6bfb gfcc files now start with (grammar absname cncname1 ... cncnameN). 2007-12-21 17:18:36 +00:00
bringert
3eba035691 Replace all the different ErrM.hs modules with GF.Data.ErrM. 2007-12-20 17:34:12 +00:00
bringert
56b9e17203 Added missing BNFC-generated alex and happy files, and alex-generated lexer for GFCCRaw. 2007-12-20 16:32:39 +00:00
aarne
2d5f98dc05 took back smart type of Int ; Digits type in resource and some adjustments of Det syntax (not yet for romance and russian) 2007-12-17 18:12:46 +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
3f4bb6c40c completed ConvertGFCC for all terms 2007-12-14 11:16:01 +00:00
aarne
61a9bdbe34 removed dep. on GFCCRaw 2007-12-14 09:25:18 +00:00
aarne
2805f48ba3 some generated GFCCRaw files added to darcs; make gf3langs for alltenses 2007-12-13 22:15:19 +00:00
aarne
3dca8b78d7 removed gfcc via gfc everywhere; workaround for russian in present 2007-12-13 22:05:14 +00:00
aarne
095018c8e4 new GFCC concrete syntax in place everywhere 2007-12-13 20:19:47 +00:00
aarne
8de623d11e lisp-like GFCC syntax; doesn't quite work yet in gf3 2007-12-13 16:36:32 +00:00
aarne
072b48065d prelude sources to lib/src; present in StructuralEng; refactored checkGFCC 2007-12-13 10:12:00 +00:00
aarne
70bb329c8e ResFin workaround; type annot for ghc 6.8.1 2007-11-09 15:51:12 +00:00
aarne
bf353c1a2e added linearize -all 2007-11-08 17:01:09 +00:00
aarne
009e3cdec1 gfi linearization with flags -table -record -term 2007-11-08 16:37:30 +00:00
aarne
d9957d802f added fields for global options and showable lincats to gfcc 2007-11-07 16:30:56 +00:00
aarne
d12728dae2 prompt and CPU time in experimental shell 2007-11-06 17:27:20 +00:00
aarne
6a716b0f68 Devel/GF3: experimentally putting together all functionalities for the first time 2007-11-06 14:44:17 +00:00
aarne
446d99c370 fixed variants bug in GFCC.Linearize: l. 64,46 'r' must be 'p' 2007-11-05 21:55:17 +00:00
aarne
5315d8851d unionGFCC, to put together GFCC grs with same abstract 2007-11-05 13:48:51 +00:00
aarne
f91e19f0d8 command language and gfcc term parser in bnfc 2007-11-03 22:00:08 +00:00
aarne
c4b9f1b94b found and temporarily solved the bug in LangGer gfcc generation 2007-10-16 17:38:57 +00:00
aarne
54db8d29f7 fix in records as param arguments 2007-10-14 10:36:06 +00:00
aarne
0d4f6e9b5e optimizations on evaluated gf in gfc 2007-10-10 16:13:57 +00:00
aarne
47ea75944f GFCCtoJS in Devel 2007-10-09 12:51:09 +00:00
aarne
67420e3c9d UTF8 encoding of strings in terms in GFCC in gfc 2007-10-08 14:20:37 +00:00
aarne
a93a8e4468 documented new GFCC 2007-10-05 16:18:23 +00:00