db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4415) Make it easy to plug custom AST printers into the compiler
Date Wed, 21 Oct 2009 15:34:59 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rick Hillegas updated DERBY-4415:
---------------------------------

    Attachment: XmlASTPrinter.java

Attaching a new version of the XML tree printer. This makes the following improvements:

1) Moves the phase marker (parse/bind/optimize) into an attribute so that, when a tree is
collapsed, you can see at a glance what compilation phase it belongs to. This helps you quickly
browse to the right tree.

2) Replace angle brackets in text strings with the corresponding xml entities so that the
browser doesn't choke on these strings.

> Make it easy to plug custom AST printers into the compiler
> ----------------------------------------------------------
>
>                 Key: DERBY-4415
>                 URL: https://issues.apache.org/jira/browse/DERBY-4415
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rick Hillegas
>            Priority: Minor
>         Attachments: ASTInspector.java, ASTInspector.java, derby-4415-01-aa-customASTprinters.diff,
derby-4415-01-ab-customASTprinters.diff, XmlASTPrinter.java, XmlASTPrinter.java, XmlASTPrinter.java
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message