lessandro / gridc

The GridC programming language

Home Page:http://lessandro.com/gridc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use the new LOOP opcode

lessandro opened this issue · comments

Perhaps add a new syntax for that.

loop (0 to 10) {
    // do stuff
}

Perhaps add an optimization pass between parsing and codegen to transform for (i=0; i<n; i++) into that loop construct.