APaGeD–The Attributed Parser Generator Formerly Known as ALLPaGeD–0.3 beta
August 23rd, 2007 | by Aldacron |Jascha has released version 0.3 of his newly renamed Attributed Parser Generator for D (APaGeD). From the NG announcement:
- 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
I feel sick to my stomach when I see terms like ‘LALR’, ‘parser generator’, ‘grammar’, and anything else that has to do with the subject. Meaning, I have no idea how cool this project is. If you are into that sort of thing, though, check it out.
Technorati Tags: D Programming Language, parser generators
By Michael P on Aug 24, 2007
Feeling sick when you don’t have knowledge about a subject? That’s a bit harsh don’t you think?
By Hans-Eric Grönlund on Aug 24, 2007
Judging from the announcement APaGeD seems really cool. The lack of a decent parser generator plagued me in the past when I was working as a Delphi programmer. I will definitely check this one out.
By Aldacron on Aug 24, 2007
Feeling sick when you don’t have knowledge about a subject? That’s a bit harsh don’t you think?
I feel sick to my stomach because it’s a subject I know little about and as such seems a bit daunting. I have no formal training in either language design or compiler theory and every time I’ve tried to study it on my own I’ve lost interest quite quickly. I wasn’t being negative or harsh, just expressing a bit of wry humor.
It seems the text medium demons have once again stolen the intent behind my words!
By Michael P on Aug 25, 2007
Oki, thanks for the clarification.