Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2959

Allow the grammar to support parameters

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.6.4
    • 3.7.0
    • language
    • None

    Description

      Allow the grammar to support parameters similar to how the groovy engine does like, g.inject(x,y,z). Doing this will make it easier for a transition away from the groovy engine as a lot of Gremlin in the world today uses parameters. The grammar may have to come with some limitations though as groovy is wide open in terms of what can be treated as a variable. Probably going to keep parameters tied to primitives, collections and tokens/enums like Order and Scope. Collections themselves will not contain parameters and things like a Traversal or P cannot be treated as one.

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: