Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4415

Make it easy to plug custom AST printers into the compiler

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 10.6.1.0, 10.11.1.1
    • SQL
    • None

    Description

      It would be nice to be able to tell the compiler to use user-written formatters for pretty-printing Derby's abstract syntax trees. For instance, it would be nice to be able to plug in the AST printers attached to DERBY-791, including the Eclipse-based tree grapher written by Kay Röpke.

      Attachments

        1. ASTInspector.java
          4 kB
          Richard N. Hillegas
        2. ASTInspector.java
          4 kB
          Richard N. Hillegas
        3. XmlASTPrinter.java
          11 kB
          Richard N. Hillegas
        4. XmlASTPrinter.java
          11 kB
          Richard N. Hillegas
        5. ASTInspector.java
          3 kB
          Richard N. Hillegas
        6. XmlASTPrinter.java
          11 kB
          Richard N. Hillegas
        7. derby-4415-01-ab-customASTprinters.diff
          8 kB
          Richard N. Hillegas
        8. XmlASTPrinter.java
          11 kB
          Richard N. Hillegas
        9. ASTInspector.java
          3 kB
          Richard N. Hillegas
        10. derby-4415-01-aa-customASTprinters.diff
          13 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: