summaryrefslogtreecommitdiffstats
path: root/tests/loop
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright yearKaren Arutyunov2019-01-162-2/+2
|
* Rename .test/test{} to .testscript/testscript{}Boris Kolpackov2018-09-042-3/+3
|
* Update copyright yearKaren Arutyunov2018-05-192-2/+2
|
* Add support for for-loopBoris Kolpackov2017-11-092-0/+117
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.