You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Alexander Klein (JIRA)" <ji...@apache.org> on 2018/06/01 12:18:00 UTC

[jira] [Created] (GROOVY-8626) Enable usage of @ as an identifier letter - as a standalone and in the middle of a word

Alexander Klein created GROOVY-8626:
---------------------------------------

             Summary: Enable usage of @ as an identifier letter - as a standalone and in the middle of a word 
                 Key: GROOVY-8626
                 URL: https://issues.apache.org/jira/browse/GROOVY-8626
             Project: Groovy
          Issue Type: New Feature
          Components: Compiler
    Affects Versions: 2.5.0
            Reporter: Alexander Klein


For writing DSL's it would be helpful to use the @ sign standalone as a custom Operator implemented by custom AST transformations.

As well it would be great to be possible to write eg. email addresses without quotes to be picked up by an AST transformation.

This requires @ as a single char and @ not at the beginning - to prevent problems with annotation literals.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)