krasimir
|
62ef772a2c
|
CheckGrammar is now using the printer in GF.Grammar.Printer. Fixed bug that was hiding the warnings
|
2009-09-14 12:16:02 +00:00 |
|
krasimir
|
1cdf171251
|
polish the PGF API and make Expr and Type abstract types. Tree is a type synonym of Expr
|
2009-09-11 13:45:34 +00:00 |
|
krasimir
|
5f0a68c1a4
|
bugfix: the optimizer should not filter out rules that refer to lexical categories
|
2009-06-18 17:31:49 +00:00 |
|
krasimir
|
8bc8929c59
|
completely phrase based parser and support for pre {} in PMCFG
|
2009-06-16 11:56:08 +00:00 |
|
krasimir
|
bae62cf7c2
|
remove the obsolete GF.Infra.PrintClass
|
2009-03-13 07:00:04 +00:00 |
|
bjorn
|
a4e731cc33
|
Move Graph, Relation and Graphviz modules from GF.Speech to GF.Data.
|
2008-11-27 08:43:08 +00:00 |
|
bjorn
|
c6968b626c
|
SRG generation: renameCats now gives new names to all cates used in the grammar, on RHS or LHS. This avoids a crash in non-recursive SRGS generation. The crash happend becase the bottom-up filter has not yet been done when renameCats is called.
|
2008-11-09 14:27:34 +00:00 |
|
krasimir
|
0606de738e
|
efficient and nicer implementation for literal categories
|
2008-10-21 14:30:36 +00:00 |
|
bjorn
|
a26290659d
|
Replace Category with Type in the PGF API. Added readLanguage and showLanguage.
|
2008-10-20 11:35:05 +00:00 |
|
krasimir
|
4573d10442
|
the new optimized incremental parser and the common subexpression elimination optimization in PMCFG
|
2008-10-14 08:00:50 +00:00 |
|
bjorn
|
446aa1b5db
|
Added --cfg option for specifying which CFG transformations to use. Added startcatonly CFG trasnformation. Removed output formats that are now easily done with --cfg: "regular", "nolr".
|
2008-09-30 11:52:11 +00:00 |
|
bjorn
|
794fbd4a41
|
Fixed CFG start cats for categories with more than one constituent.
|
2008-09-30 10:53:36 +00:00 |
|
bjorn
|
3ca6c605b0
|
Use filtering in regular printer.
|
2008-09-30 09:39:09 +00:00 |
|
bjorn
|
41c95825f3
|
SRG conversion: print CFG when a unknown cat is found in renameCats. Do filtering in ebnf printer.
|
2008-09-30 09:32:16 +00:00 |
|
bjorn
|
0f4e8468be
|
Added isLiteralCat function to PGF.Macros.
|
2008-09-26 15:04:13 +00:00 |
|
bjorn
|
b0dde31f00
|
Added semantic interpretation tag printing to the *bnf grammar printers.
|
2008-09-26 12:57:20 +00:00 |
|
bjorn
|
2f3b7d1c55
|
Use ebnf format for "regular" output-format.
|
2008-09-26 10:20:18 +00:00 |
|
bjorn
|
7a81b559fe
|
Changed nolr printer to use EBNF format.
|
2008-09-26 10:03:42 +00:00 |
|
bjorn
|
a372357adc
|
ebnf printer: print external cats first.
|
2008-09-26 09:58:57 +00:00 |
|
bjorn
|
86e94e3b1b
|
bnf and ebnf printer: align ::= symbols.
|
2008-09-26 09:54:09 +00:00 |
|
bjorn
|
a4ded76aa3
|
SRG category renaming: don't count the external cats when calculating indices.
|
2008-09-26 09:44:02 +00:00 |
|
bjorn
|
d1a2cdb948
|
Changed SRG category renaming to use GF cat + index among CFG cats for that GF cat, instead of the old Concrete syntax name + index among all CFG cats.
|
2008-09-26 09:39:48 +00:00 |
|
bjorn
|
65f302bb84
|
Oops, I accidentally disabled all CFG simplification and LR-removal with the ENBF printing patch.
|
2008-09-26 09:39:04 +00:00 |
|
bjorn
|
1bcffdce30
|
Change category naming in CFG generation: the number now starts from 1 for each GF category, instead of being the FCFG category number.
|
2008-09-26 09:28:03 +00:00 |
|
bjorn
|
92c76a6265
|
Added --output-format=ebnf.
|
2008-09-26 09:20:39 +00:00 |
|
bjorn
|
8fa99886b3
|
In CFG generation: don't add linrow number if the lincat has only a single constituent.
|
2008-09-26 09:06:52 +00:00 |
|
bjorn
|
b114cfda77
|
Added --output-format=nolr. Minor makeRegular refactoring.
|
2008-09-25 13:41:07 +00:00 |
|
bjorn
|
13191ac155
|
Added --output-format=regular.
|
2008-09-25 11:49:00 +00:00 |
|
bjorn
|
cc7173a034
|
Somewhat nicer FCFG output format.
|
2008-09-25 08:44:23 +00:00 |
|
bjorn
|
cdc647e788
|
Added an FCFG output format (--output-format=fcfg). This now lives in GF.Speech.PGFToCFG, but should probably move somewhere else.
|
2008-09-25 08:41:49 +00:00 |
|
bjorn
|
34c5617ef6
|
Got SRGS ABNF generation to compile.
|
2008-09-23 12:56:25 +00:00 |
|
bjorn
|
e5779fc594
|
Re-added old PrSRGS_ABNF (does not compile yet).
|
2008-09-23 12:41:44 +00:00 |
|
bjorn
|
23a6375ced
|
Completed SISR 1.0 support (untested).
|
2008-08-24 14:53:21 +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 |
|
meza
|
314f147bff
|
JS.cf : Changed the JS grammar to support strings as property names in objects. Changed pretty much all the files in the same folder as well as GFCCToJS.hs and SISR.hs to reflect the changes.
|
2008-04-29 13:05:24 +00:00 |
|
bringert
|
4ab0df67c5
|
Added newlines and ends of some files. This makes sed happy.
|
2007-12-20 17:07:56 +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
|
48623470cd
|
gf works with the new gfcc format
|
2007-10-05 12:54:29 +00:00 |
|
bringert
|
da6e0efc11
|
CFRules tracing.
|
2007-06-28 01:26:09 +00:00 |
|
bringert
|
cbf851b516
|
-printer=regexp handles precedence
|
2007-06-28 01:25:36 +00:00 |
|
bringert
|
af45f33d51
|
bottom-up and top-down filtering do not need fix point iteration.
|
2007-06-27 17:46:34 +00:00 |
|
bringert
|
af36dcf13d
|
Refactor TransformCFG: use Map for CFRules.
|
2007-06-27 17:22:59 +00:00 |
|
bringert
|
bb09506ece
|
Make bottomUpFilter better by also removing categories which contain no finite strings.
|
2007-06-27 16:27:55 +00:00 |
|
bringert
|
92b1b85a1f
|
Print SRG stats when preprocessing grammar.
|
2007-06-27 16:27:08 +00:00 |
|
bringert
|
2ff350ae59
|
Use shorter lines and paragraph-filling in SRGS, JSGF and GSL printing.
|
2007-06-27 14:25:39 +00:00 |
|
bringert
|
43128f80e6
|
Limit GSL/JSGF/SRGS ABNF grammar line width to 80.
|
2007-06-27 09:07:51 +00:00 |
|
bringert
|
3b93e0ffe2
|
Fewer redundant parantheses in JSGF and SRGS ABNF.
|
2007-06-26 16:51:09 +00:00 |
|