Parser generator for inline documentation
Posted
by Leonth
on Stack Overflow
See other posts from Stack Overflow
or by Leonth
Published on 2010-04-03T22:14:20Z
Indexed on
2010/04/03
22:23 UTC
Read the original article
Hit count: 426
To have a general-purpose documentation system that can extract inline documentation of multiple languages, a parser for each language is needed. A parser generator (which actually doesn't have to be that complete or efficient) is thus needed.
http://antlr.org/ is a nice parser generator that already has a number of grammars for popular languages. Are there better alternatives i.e. simpler ones that support generating parsers for even more languages out-of-the-box?
© Stack Overflow or respective owner