-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Labels
dslxDSLX (domain specific language) implementation / front-endDSLX (domain specific language) implementation / front-endenhancementNew feature or requestNew feature or request
Description
What's hard to do? (limit 100 words)
T: type should work anywhere you can now use a value parametric.
Current best alternative workaround (limit 100 words)
Write N copies of the thing, or use sign + bit count parametrics where possible.
Your view of the "best case XLS enhancement" (limit 100 words)
This is, by design, not a huge lift from the initial state of TIv2.
The roadmap is basically:
- Get it working for everything except what is listed below.
- Handle IR conversion of generic dispatch of impl calls, i.e.
foo.bar()wherefoois type T. - Handle colon refs through T, like
T::SOME_CONST,T::static_fn(),foo<T::some_alias>(). - Fix any cross-module issues.
- #[derive(ToBits)], concurrently under development, may need to derive a variant per type parameterization of the struct.
Metadata
Metadata
Assignees
Labels
dslxDSLX (domain specific language) implementation / front-endDSLX (domain specific language) implementation / front-endenhancementNew feature or requestNew feature or request
Type
Projects
Status
No status