Loading ...
Sorry, an error occurred while loading the content.

11459pretty printing

Expand Messages
  • Cristian Amitroaie
    Mar 30, 2004
      Hello guys,

      I am thinking about using antlr for pretty printing. Did anybody use another
      approach besides filling a TreeWalker with print actions?

      I looked over StringTemplate but it doesn't look like the thing I need. Do I
      miss something?

      Another thought I have is to use some "pretty" code snapshots that I may parse
      and learn from, instead of using misc controls in the app (dangling curleys,
      white space around "()", ...). Yet I still need to experiment this one.

    • Show all 4 messages in this topic