Skip to content

iteration over tuple components #208

@lutzhamel

Description

@lutzhamel

Asteroid should support the following,

ast> load system io.
ast> for i in (1,2,3) do
....    io @println i.
.... end
error: only iteration over strings and lists is supported
ast>

Python supports this,

>>> for i in (1,2,3):
...     print(i)
... 
1
2
3
>>>

Metadata

Metadata

Assignees

Labels

enhancementFeatures that are directly related to the core tenet of Asteroid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions