Skip to content

Declare for loop control variable  #2

Open
@amirbawab

Description

Enhanced syntax would look as follow:

// var int i; <--- No need to declare `i` here 
for(var int i=0; i < 10; i=i+1) {
    // body
}

Requirements:

  • Modify the grammar
  • Add corresponding bash code

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions