Antlr is just another in a long line of lexical parsers. I still remember the original lex (for lexical analysis), which in combination with yacc (for parsing and grammar) could make pretty much any conventional programming language.
On 15 Apr 2011, at 14:58, Christian Egli wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> At FOSDEM, someone asked me if there was a formal description of the
>> structure of Org files, in some language that would be the input for a
>> parser (or parser generator?) so that Org file could be easily parsed.
>
> Maybe the person was talking about antlr[1], "ANother Tool for Language
> Recognition, a language tool that provides a framework for constructing
> recognizers, interpreters, compilers, and translators from grammatical
> descriptions containing actions in a variety of target languages”.
<snip>
> Sounds like an interesting project.
Wow, if that thing can export syntax diagrams in PNG or PDF I’d be really happy. Looks very interesting — albeit serious overkill for what I’d use it :-).
thanks,
Peter.
--
c++; // this makes c bigger but returns the old value