Related articles |
---|
Q: Documentation tools for compiler/languages ? pizka@informatik.tu-muenchen.de (1996-10-20) |
Re: Q: Documentation tools for compiler/languages ? florian@watson.ibm.com (Florian Krohm) (1996-10-24) |
Re: Q: Documentation tools for compiler/languages ? ddw@miscrit.be (Dominique de Waleffe) (1996-10-24) |
Re: Q: Documentation tools for compiler/languages ? stephen@lila.york.ac.uk (1996-10-25) |
Re: Q: Documentation tools for compiler/languages ? Venkateswara.Rao@cho.ge.com (Venkateswara Rao) (1996-10-25) |
Re: Q: Documentation tools for compiler/languages ? d.love@daresbury.ac.uk (Dave Love) (1996-11-05) |
From: | Florian Krohm <florian@watson.ibm.com> |
Newsgroups: | comp.compilers |
Date: | 24 Oct 1996 22:22:42 -0400 |
Organization: | IBM Corporation |
References: | 96-10-092 |
Keywords: | lex, yacc, tools, comment |
Markus Pizka wrote:
> are there any tools that help to document a compiler written by using
> flex and bison ?
>
> I am looking for something that generates adequate tex-file out of a
> flex or bison specification.
I once wrote a program to convert yacc/bison input files into a TeX
file. You can choose fonts for terminals/nonterminals and if you wish
so, the rules are nicely aligned by the length of the longest
nonterminal, e.g.
SHORT -> a b c
VERY_LONG_LHS -> BLA BLA
You can get LaTeX as well. Any action code is skipped... If there is
enough interest, I'll dig it out and try to make it available. Let me
know.
Florian
----------------------------------------------------------------
florian@watson.ibm.com, Phone: (914)945-1078, Fax: (914)945-4469
[Sounds nice, I'd be happy to put a copy in the FTP archive here. -John]
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.