digitalmars.D.announce - Parser Generator APaGeD 0.3 beta release
- Jascha Wetzel <"[firstname]" mainia.de> Aug 23 2007
- BLS <nanali nospam-wanadoo.fr> Aug 23 2007
- Christian Kamm <kamm.incasoftware shift-at-left-and-remove-this.de> Aug 23 2007
- Jascha Wetzel <"[firstname]" mainia.de> Aug 23 2007
- Manfred Nowak <svv1999 hotmail.com> Aug 28 2007
- Jascha Wetzel <firstname mainia.de> Aug 29 2007
- =?ISO-8859-1?Q?Manuel_K=F6nig?= <ManuelK89 gmx.net> Sep 25 2007
- Jascha Wetzel <firstname mainia.de> Sep 25 2007
APaGeD - Attributed Parser Generator for D http://apaged.mainia.de This is a major upgrade for ALLPaGeD. It has been renamed to APaGeD, because it's not restricted to LL parsers anymore. - generates LALR(1)-based GLR parsers and LL parsers - generates linear-time first-longest-match lexical analyzers - intuitive, curly-brace-style grammar syntax with embedded D code - supports non-regular whitespace grammar (e.g. nested comments) - semantic analysis allows inherited and synthetic attributes, multiple passes, etc. - supports imports for structuring of large grammars - extensive debugging facilities - supports error recovery - explicit error messages or... - automatically generated error messages: "file(line): found A, expected B, C or D" - export grammar specification for documentation See the documentation for details.
Aug 23 2007
WOW !!!!!!!!!!!! Written in D 1x ? Well asking for the SEAT D grammar is probabely a bit too much. But however, will you offer us the grammar file ? Bjoern
Aug 23 2007
Well asking for the SEAT D grammar is probabely a bit too much. But however, will you offer us the grammar file ?
I think it is included in the seatd downloadable. Check src/seatd/parser.apd. Christian
Aug 23 2007
BLS wrote:WOW !!!!!!!!!!!! Written in D 1x ? Well asking for the SEAT D grammar is probabely a bit too much. But however, will you offer us the grammar file ? Bjoern
it's written in D2.0, but the generated parsers also compile with D1.0. the SEATD grammar file is available with the source!? it's in src/seatd/parser.apd
Aug 23 2007
Jascha Wetzel wroteSee the documentation for details.
Seems, that APaGeD gegenrates GLR-parsers by default, but I cannot see that in the documentation. Minor bug: When the parser is to accept epsilon only, then there are no lexems defined, then no mainLexer will be generated, then the compilation will fail. -manfred
Aug 28 2007
Manfred Nowak wrote:Jascha Wetzel wroteSee the documentation for details.
Seems, that APaGeD gegenrates GLR-parsers by default, but I cannot see that in the documentation. Minor bug: When the parser is to accept epsilon only, then there are no lexems defined, then no mainLexer will be generated, then the compilation will fail. -manfred
i'll fix both in the next release, thanks.
Aug 29 2007
Nice work, thanks! minor bug: when calling apaged without any arguments, it segfaults. changing line 29 in main.d to this fixes this: optionsLoop: while ( args.length > 1 )
Sep 25 2007
Manuel König wrote:Nice work, thanks! minor bug: when calling apaged without any arguments, it segfaults. changing line 29 in main.d to this fixes this: optionsLoop: while ( args.length > 1 )
thanks! i'll patch it into the upcoming 0.4 release.
Sep 25 2007









Christian Kamm <kamm.incasoftware shift-at-left-and-remove-this.de> 