digitalmars.D.announce - Parser Generator APaGeD 0.3 beta release
- Jascha Wetzel (18/18) Aug 23 2007 APaGeD - Attributed Parser Generator for D
- BLS (5/5) Aug 23 2007 WOW !!!!!!!!!!!!
- Christian Kamm (3/5) Aug 23 2007 I think it is included in the seatd downloadable. Check
- Jascha Wetzel (4/9) Aug 23 2007 it's written in D2.0, but the generated parsers also compile with D1.0.
- Manfred Nowak (7/8) Aug 28 2007 Seems, that APaGeD gegenrates GLR-parsers by default, but I cannot see
- Jascha Wetzel (2/14) Aug 29 2007 i'll fix both in the next release, thanks.
- =?ISO-8859-1?Q?Manuel_K=F6nig?= (4/4) Sep 25 2007 Nice work, thanks!
- Jascha Wetzel (2/7) Sep 25 2007 thanks! i'll patch it into the upcoming 0.4 release.
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 ? Bjoernit'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 wrotei'll fix both in the next release, thanks.See 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 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