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

Make it easy to plug custom AST printers into the compiler

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.6.1.0, 10.11.1.1
    • Component/s: SQL
    • Labels:
      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
          Rick Hillegas
        2. ASTInspector.java
          4 kB
          Rick Hillegas
        3. ASTInspector.java
          3 kB
          Rick Hillegas
        4. ASTInspector.java
          3 kB
          Rick Hillegas
        5. derby-4415-01-aa-customASTprinters.diff
          13 kB
          Rick Hillegas
        6. derby-4415-01-ab-customASTprinters.diff
          8 kB
          Rick Hillegas
        7. XmlASTPrinter.java
          11 kB
          Rick Hillegas
        8. XmlASTPrinter.java
          11 kB
          Rick Hillegas
        9. XmlASTPrinter.java
          11 kB
          Rick Hillegas
        10. XmlASTPrinter.java
          11 kB
          Rick Hillegas

          Issue Links

            Activity

              People

              • Assignee:
                rhillegas Rick Hillegas
                Reporter:
                rhillegas Rick Hillegas
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: