sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[Wildcard Variables] CFE Implementation

Open kallentu opened this issue 1 year ago • 0 comments

Issue may be edited as we add more items of work.

A general outline of areas that need to be updated for the wildcards feature:

  • [ ] Decide how we would like to represent _ in the CFE (body_builder)
  • [x] Update function signatures allowing multiple _s (outline_builder)
  • [x] Update the scope look up to avoid finding local declarations of _. May come naturally if we don't register _ as valid in-scope elements. (body_builder)
  • [ ] Update error handling.
  • [x] Suppress unused variable warnings for _ local declarations.
  • [x] Add unit tests and CFE file tests.
  • [ ] Lower unique variable names to the backends.

cc. @chloestefantsova @johnniwinther @stereotype441

kallentu avatar May 06 '24 23:05 kallentu