Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
August 23, 2007 Parser Generator APaGeD 0.3 beta 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. |
August 23, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jascha Wetzel | 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 |
August 23, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to BLS | > 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
|
August 23, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to BLS | 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
|
August 29, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jascha Wetzel | Jascha Wetzel wrote
> 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
|
August 29, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | Manfred Nowak wrote:
> Jascha Wetzel wrote
>
>> 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
i'll fix both in the next release, thanks.
|
September 25, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jascha Wetzel | 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 ) |
September 25, 2007 Re: Parser Generator APaGeD 0.3 beta release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manuel König | 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.
|
Copyright © 1999-2021 by the D Language Foundation