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

parser to support interactive shell style parsing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-2
    • parser
    • None

    Description

      We need to be able to parse arbitrary statements as well as class definitions. e.g. this should be parsable...

      >>> foo = [1, 2, 3]
      >>> foo.each

      { i | i * 2}

      [2, 4, 6]

      Where >>> represents commands typed in on the terminal.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: