Skip to content

How to represent variable templates? #153

Description

@Xazax-hun

I wanted to create a mapping from template parameters to Var with a Forall type, but I encountered some difficulties.

  • What should be the target type for Forall?
  • What should be the type for the Var node under the mapping?
  • How should that Var node be created? Region::declare_var() will add the var to the scope in the Region. As a result, I will end up having the same Var node twice in the tree. Once as the child of the Mapping, and once directly in the scope of the Region.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions