google / google/xls

Support range() and enumerate() outside `for` loops

Open
#492 0 comments 0 reactions 0 assignees View on GitHub
bug dslx
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

It'd be handy to be able to define constant arrays via a `range()` expression, i.e, `let foo : u32[5] = range(u32:0, u32:4);`, but currently `range()` is only supported within the confines of a `for` loop.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.