Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8626

Enable usage of @ as an identifier letter - as a standalone and in the middle of a word

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.5.0
    • Fix Version/s: None
    • Component/s: Compiler
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              saschaklein Alexander Klein
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: