| EXAMPLE USAGE * create a 3x3 grid of cubes - loop ~ from: 0 0 0 ~ to: 2 2 2 - by: 1 - create cubelets * create cubelets * done: | create cubelets \ indices: I J K - create a cube at I J K - iterate | NESTED LOOP RULESET ( works for any number of nested loops ) | loop * from: N - temporary: N * loop - setup loop | setup loop * temporary: N - from: N - indices: N * setup loop | iterate * indices: Max * from: Min * to: Max - seen indices: Min - seen min: Min - seen max: Max * iterate * indices: I | by: Increment - reset the indices ^ fact('indices', str(int(I) + int(Increment))) * iterate - done: - clear the indices | reset the indices * seen indices: I * seen min: Min * seen max: Max - indices: I - from: Min - to: Max * reset the indices | clear the indices * seen indices: I * seen min: Min * seen max: Max * clear the indices