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

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.5.0
    • None
    • Compiler

    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

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

            Dates

              Created:
              Updated: