Skip to content

Add partially working for loop

Michael Aaron Murphy requested to merge skylerberg:flow-control into master

Created by: skylerberg

You can do some fun stuff with this for loop like

for i in 1 2 3
echo $i
end

However, this implementation is a little messy and does not play nice with other flow control commands. That means no nesting if or for inside a for loop. Obviously that will have to be fixed. I am merging now because I doubt I will be able to take it to the next level tonight.

Merge request reports