path: root/tests/loop
AgeCommit message (Collapse)AuthorFilesLines
2020-02-07Drop copyright notice from source codeKaren Arutyunov2-2/+0
2019-09-30Cleanup inappropriate use of parse_variable_value()Boris Kolpackov1-0/+7
2019-01-16Update copyright yearKaren Arutyunov2-2/+2
2018-09-04Rename .test/test{} to .testscript/testscript{}Boris Kolpackov2-3/+3
2018-05-19Update copyright yearKaren Arutyunov2-2/+2
2017-11-09Add support for for-loopBoris Kolpackov2-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.