db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4415) Make it easy to plug custom AST printers into the compiler
Date Mon, 19 Oct 2009 20:02:59 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12767501#action_12767501

Knut Anders Hatlen commented on DERBY-4415:

Hi Rick,

This looks like a useful addition. Just a thought, but would it be better to create a new
interface (say ASTVisitor) that extended Visitor so that only those visitors that actually
use the begin() and end() methods need to implement them?

> 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, derby-4415-01-aa-customASTprinters.diff, 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.

View raw message