Derby
  1. Derby
  2. DERBY-4415

Make it easy to plug custom AST printers into the compiler

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor 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.

      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

          Rick Hillegas made changes -
          Attachment ASTInspector.java [ 12669989 ]
          Rick Hillegas made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Fix Version/s 10.11.0.0 [ 12324243 ]
          Resolution Fixed [ 1 ]
          Gavin made changes -
          Workflow jira [ 12479841 ] Default workflow, editable Closed status [ 12802244 ]
          Rick Hillegas made changes -
          Link This issue is related to DERBY-3946 [ DERBY-3946 ]
          Rick Hillegas made changes -
          Link This issue relates to DERBY-6022 [ DERBY-6022 ]
          Rick Hillegas made changes -
          Attachment ASTInspector.java [ 12564477 ]
          Rick Hillegas made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Kathey Marsden made changes -
          Assignee Rick Hillegas [ rhillegas ]
          Fix Version/s 10.6.0.0 [ 12313727 ]
          Rick Hillegas made changes -
          Attachment XmlASTPrinter.java [ 12424207 ]
          Rick Hillegas made changes -
          Attachment XmlASTPrinter.java [ 12422815 ]
          Rick Hillegas made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Rick Hillegas made changes -
          Attachment ASTInspector.java [ 12422686 ]
          Rick Hillegas made changes -
          Attachment XmlASTPrinter.java [ 12422685 ]
          Rick Hillegas made changes -
          Attachment derby-4415-01-ab-customASTprinters.diff [ 12422684 ]
          Rick Hillegas made changes -
          Link This issue is related to DERBY-791 [ DERBY-791 ]
          Rick Hillegas made changes -
          Attachment XmlASTPrinter.java [ 12422599 ]
          Rick Hillegas made changes -
          Attachment ASTInspector.java [ 12422598 ]
          Rick Hillegas made changes -
          Field Original Value New Value
          Attachment derby-4415-01-aa-customASTprinters.diff [ 12422597 ]
          Rick Hillegas created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development