Identifier of lustre grammar in KIND2 #925
-
Hi, I'm now trying to deal with converting lustre v6 to lustre which could be recognized by KIND2. Due to the recursive structure of lustre v6, like
I intended to rewrite the Operator name like "Operator1" -> "package1_Operator1" and so on, but I realised that it may cause disambiguation with variables with underline. |
Beta Was this translation helpful? Give feedback.
Answered by
daniel-larraz
Dec 6, 2022
Replies: 1 comment 1 reply
-
Hi, an easy solution to make each identifier unique is to use a counter. Just prepend a prefix to the new identifier with the current value of the counter. Best, |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kumori123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, an easy solution to make each identifier unique is to use a counter. Just prepend a prefix to the new identifier with the current value of the counter.
Best,
Daniel