[windup-dev] Nested rules alternative?

Ondrej Zizka ozizka at redhat.com
Thu Jun 12 08:03:13 EDT 2014


Nested iterations create verbose rules with a lot of boilerplate.
Maybe the iteration could be over tuples of vertices.
Eg. in DiscoverJavaFilesCP, instead of

forEach( windupConf )
     ...
           ...
              ............
                  .....
                      forEach( javaFile )

we could query to get
      [ { windupConf, javaFile },
         { windupConf, javaFile }
           ... ]

And iterate over that.
Anyone investigated this? IIRC from the Gremlin tutorial, this is possible.

Ondra


More information about the windup-dev mailing list