DSLX: `typeof` specifier?
Open
dslx
enhancement
🧦 sox
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 283
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 135
Description
Being able to specify a value or type in terms of another value's type might be handy.
```
pub const BAR = u32:0;
pub const FOO = typeof(BAR):3;
```
When dealing with imported symbols from other sources (say, imported Verilog types), this might make parameterized implementation easier.
Contributor guide
Assessment
This issue has not been assessed yet.