开发者

Utility to format a Bison/Yacc grammar file nicely? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

开发者_JAVA百科 Improve this question

Hello there: Do you folks know of any GNU/Linux utility to format a Bison grammar file, containing C code, nicely? I'm thinking of something along the lines of GNU Indent, but designed to beautify grammar files rather than C code.


Well, there's also an answer about Indenting in VIM with all the files in Folder, so if vim does a good enough job for you, you could use that.


This is not a tool for indenting - but it will take your bison file and generate a nice railroad diagram for you - http://www.bottlecaps.de/rr/ui

example of it being used: http://bramp.github.io/js-sequence-diagrams/#syntax

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜