Closed JunmingZhao42 closed 6 days ago
I think the main question here would be were we want this feature and how it should be implemented:
/*@ ... @*/
to something different)I agree it makes sense if this feature can be in Pancake rather than only in the transpiler. I'll follow this up with the Pancake team.
Currently it seems that there isn't a way to specify some constants for the transpiler to pick up. For example if someone needs to have a predicate for some EIR register it'd look like this:
where the values are sort of hard-coded. And if the same constants need to be used in other pre/post-conditions later, the user would also have to manually type in those constants, which is likely to cause some bugs sometimes.
It'd be nice to be able to specify constants using
define ...
or something similar in Pancake annotations, such that these constants can be used in predicates and other assertions without writing explicit values.Anyways, this is more of a feature enhancement request.