Commit Graph

167 Commits

Author SHA1 Message Date
krasimir
92917e6e5e Use Happy grammar for imports extraction instead of hand made shallow crapy grammar 2008-04-22 08:33:23 +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
c36ee1492e oops, readded CanonToGFCC to darcs 2007-12-14 07:32:59 +00:00
aarne
ed5a85ce1d removed gfcc via gfc everywhere; workaround for russian in present 2007-12-13 22:05:14 +00:00
aarne
b447cf1a04 new GFCC concrete syntax in place everywhere 2007-12-13 20:19:47 +00:00
aarne
83b47b13b7 some adjustments in GFCC generation (old) 2007-12-10 16:46:04 +00:00
bringert
6568ac4aea 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
91415f7ad0 grammar printing options in gf3 and gfc 2007-11-09 00:21:57 +00:00
aarne
3f4d3e69cf oper and lindef in CanonToJS 2007-10-31 16:41:39 +00:00
aarne
2905d5552c removed Canon/GFCC 2007-10-05 13:38:10 +00:00
aarne
48623470cd gf works with the new gfcc format 2007-10-05 12:54:29 +00:00
aarne
e697fa5c39 eliminated the rest of projections with record in GFCC 2007-10-04 08:23:56 +00:00
aarne
70c8cff0f9 lincat index in CanonToGFCC decreased by 1 2007-10-03 16:15:33 +00:00
aarne
17962eef1a added optimization to GrammarToGFCC 2007-10-03 16:04:30 +00:00
aarne
7933d12f06 uncurrying performed in CheckGFCC 2007-10-03 11:49:46 +00:00
aarne
dabf5d1ee0 gfcc from GF now works for LangEng (except literals) 2007-10-02 11:15:00 +00:00
aarne
f72e601d12 work with GrammarToGFCC, not complete 2007-10-01 20:14:23 +00:00
aarne
82754178db more tc of gfcc 2007-10-01 13:18:43 +00:00
aarne
3b4ee92cbe started CheckGFCC 2007-09-28 13:42:50 +00:00
kr.angelov
286851b7c0 remove the dependency to GF.Data.Operations from GF Embed API 2007-09-25 05:55:49 +00:00
kr.angelov
c6c7557b13 merge FCFGParsing with GF.Parsing.FCFG 2007-09-24 14:36:19 +00:00
kr.angelov
9222e4d34c Update GFCCAPI after the removal of FTypes and the FCFG lexer 2007-09-24 08:58:46 +00:00
kr.angelov
0cd5e62e83 remove some redundant dependencies from FCFG 2007-09-23 20:01:25 +00:00
bringert
46013f103c Restored the GFCC.cf from before the patch "simplify GFCC syntax". This is the version that the exisiting code actually uses, except for the two cases of Int instead of Integer. 2007-09-20 15:20:44 +00:00
bringert
5f5d4b2cbe BNFC doesn't have an Int type. 2007-09-20 14:33:53 +00:00
aarne
74ad9aa2fd printing GSyntax with GFCC trees 2007-09-20 13:26:59 +00:00
aarne
8bf5ff0a94 embedded parser in MultiGrammar in GFCCAPI 2007-09-20 09:48:50 +00:00
aarne
3707eb4576 refactored FCFG parsing to fit in GFCC shell 2007-09-20 09:10:37 +00:00
aarne
ef389db569 started extending GFCC API with parsing 2007-09-19 16:48:13 +00:00
aarne
aff4aa20c1 repaired JS generation after GFCC changes 2007-09-19 14:10:04 +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
1e6af79046 remove trace 2007-01-11 19:17:36 +00:00
kr_angelov
48b4e3de1d simplify GFCC syntax 2006-12-28 16:35:16 +00:00
bringert
46c8026b9d Include startcat in generated JavaScript. 2007-09-19 08:58:39 +00:00
bringert
c3c84f6574 Comment out tracing in CanonToGFCC. It produces lots of junk when generating SRGs. 2007-06-27 15:39:42 +00:00
aarne
8af473a6f5 param values for TInts in Canon.Look 2007-05-11 13:57:34 +00:00
aarne
97462f7e83 ids for GF rather than BNFC in AbsToBNF 2007-05-10 14:06:45 +00:00
aarne
278a0ab45d printing abs as BNF 2007-05-10 12:51:40 +00:00
aarne
935594eb86 semantics of variants 2007-01-10 21:03:18 +00:00
bringert
efb806f226 SISR code now type annotates meta variables directly in grammar, to avoid a separate type annotation step. 2007-01-05 17:34:44 +00:00
bringert
15fd1d590a Generate JavaScript type annotator. Use lindef in JavaScript. 2006-12-21 00:01:45 +00:00
aarne
d0b392e318 gfcc with lindef (_dCat) 2006-12-19 15:34:52 +00:00
bringert
c038db9d7c JavaScript generation: compile all concrete syntaxes, not just the first. 2006-12-08 19:53:06 +00:00
bringert
6645233be0 Made generated JavaScript more object-oriented. Moved common JS stuff to lib/javascript/gflib.js 2006-12-06 13:52:24 +00:00
bringert
ae43c55ae0 Oops, I broke the gfcc printer. Fixed now. 2006-12-06 11:54:51 +00:00
bringert
18ec82b54d Got GFCC to JavaScript compilation working. Variants are still printed in a weird way. 2006-12-05 22:10:28 +00:00
bringert
ba13ff08d2 Added the beginnings of GFCC to JavaScript conversion. 2006-11-30 22:50:25 +00:00
aarne
546e778ba8 internal representation for param value index 2006-11-14 19:13:33 +00:00
aarne
49c8a52ade robustness to gfcc interpreter ; make gfcc to bin 2006-11-12 20:48:01 +00:00
aarne
790ad6d4a5 return ? for nonexistent fun in gfcc 2006-11-03 21:57:37 +00:00