Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Now instead of:
dir{foo/bar/}
We get:
foo/dir{bar/}
Which feels more consistent with how we print other names/targets. That is,
"directory bar/ in directory foo/" similar how foo/exe{bar} is "executable
bar in directory foo/".
|
|
|
|
This meta operation can be used to print basic information (name, version,
source/output roots, etc) for one or more projects.
|
|
The semantics is similar to the C++11 range-based for:
list = 1 2 3
for i: $list
print $i
Note that there is no scoping of any kind for the loop variable ('i' in
the above example).
See tests/loop/for.test for some examples/ideas.
In the future the plan is to also support more general while-loop as well
as break and continue.
|
|
|
|
|