Commit Graph

1241 Commits

Author SHA1 Message Date
bringert
bfb04e5eb0 Fix pre token bug in JS, both in gf and gfc. Pre tokens are still treated like normal tokens, but at least the generated code should be correct now. 2007-11-09 15:09:09 +00:00
aarne
ce975919c9 debugging gfcc bug; resulted in some type annotations to work around problems 2007-11-09 14:02:11 +00:00
aarne
22702d5cd0 changed js and hs file names in gfcc output to expected ones 2007-11-09 10:08:07 +00:00
aarne
83be999123 preserve error message in batch compile 2007-11-09 08:56:13 +00:00
aarne
55c65c92ce currying in paramlincat encoding 2007-11-09 08:26:56 +00:00
aarne
93200c65dc grammar printing options in gf3 and gfc 2007-11-09 00:21:57 +00:00
aarne
16e52b231a partial check of dependencies with restricted inheritance 2007-11-08 23:34:45 +00:00
aarne
0b026ad8ac restricted inheritance in gfcc abstract fixed 2007-11-08 21:34:44 +00:00
aarne
f3f46c7a0f funny ASCII logo 2007-11-06 20:52:49 +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
cac4f5e27c encoding of lincats as gfcc terms with param value information 2007-11-07 17:27:09 +00:00
aarne
d9957d802f added fields for global options and showable lincats to gfcc 2007-11-07 16:30:56 +00:00
aarne
f07a200c33 some more issues in gf3.txt 2007-11-07 13:53:48 +00:00
aarne
5937e51a8e moved gfcc program to gfi, wrote document gf3.txt 2007-11-07 13:07:02 +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
49b81e4af5 made command table independent of options 2007-11-06 11:01:45 +00:00
aarne
957257fa03 factored out commands from interpreter in gfcc 2007-11-06 10:43:19 +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
9045fb2851 command database in gfcc 2007-11-04 22:01:10 +00:00
aarne
456086c441 changed suffix gfc to gfo in the gfc program to enable sharing directories with gf 2007-11-04 20:36:58 +00:00
aarne
450044b81e interpreter with pipes 2007-11-04 10:17:48 +00:00
aarne
95abbbd8f4 started command interpreter for gfcc 2007-11-03 22:37:18 +00:00
aarne
f91e19f0d8 command language and gfcc term parser in bnfc 2007-11-03 22:00:08 +00:00
bringert
6f0009b11b Added explicit export list to ParGF. 2007-11-01 10:10:30 +00:00
bringert
851ca1c544 Regenerated ParGF.y with current BNFC, and regenerated ParGF.hs with Happy 1.17. This seems to fix some of the less informative parsing error messages. 2007-11-01 10:08:32 +00:00
aarne
a688096265 oper and lindef in CanonToJS 2007-10-31 16:41:39 +00:00
bringert
ec7141fb4e Added type signature to fix GHC 6.8 problem reported by Jean-Philippe. 2007-10-30 09:51:14 +00:00
bringert
b326744a46 Added --output-name to GF.Devel.GFC.Options. Inspired by peb's --output-base suggestion. 2007-10-23 12:19:11 +00:00
bringert
73a384b359 Added --output-dir to GF.Devel.GFC.Options. Suggested by peb. 2007-10-23 12:15:01 +00:00
bringert
4e8d6b2c02 Allow multiple output formats in GF.Devel.GFC.Options. Suggested by peb. 2007-10-23 12:11:48 +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
bringert
16f3df2311 Added Show isntance generation to haskell_gadt. 2007-10-20 18:57:38 +00:00
bringert
9d7a9a95b1 Added Compos instance generation to the haskell_gadt printer. Added GF.Data.Compos module which is imported by the code generated by haskell_gadt. 2007-10-20 18:42:16 +00:00
aarne
c4b9f1b94b found and temporarily solved the bug in LangGer gfcc generation 2007-10-16 17:38:57 +00:00
bernardy
cd75d0ed13 Slightly nicer output when reading old grammars 2007-10-15 08:05:33 +00:00
aarne
405dc75016 adjusting parameter types in Romance and fixing some compilation bugs 2007-10-14 14:08:41 +00:00
aarne
54db8d29f7 fix in records as param arguments 2007-10-14 10:36:06 +00:00
kr.angelov
6bc3dc45b6 FCat is just a plain integer now 2007-10-12 16:00:37 +00:00
aarne
8b74ec7958 some fixes in GrammarTpGFCC, and more tracing 2007-10-12 12:24:07 +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
6d765e75ad tuning gf optimization 2007-10-10 20:29:10 +00:00
aarne
a303afdba3 patches to Now and Dan verb forms ; opers and lindefs in JS 2007-10-10 17:35:50 +00:00
aarne
07796eb3ee common subexp elim for src GF 2007-10-10 17:01:00 +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