nac3_sca/nac3standalone/demo/src/loop.py

13 lines
223 B
Python

# For Loop using an increasing range() expression as its iterable
@extern
def output_int32(x: int32):
...
def run() -> int32:
i = 0
for i in range(10):
output_int32(i)
output_int32(i)
return 0