runtimeverification / avm-semantics

BSD 3-Clause "New" or "Revised" License
15 stars 4 forks source link

Restore labels to use alphanumeric tokens rather than integers #300

Closed nwatson22 closed 1 year ago

nwatson22 commented 1 year ago

This PR changes the labels to work better with verification. Currently the labels are represented as integers in inner syntax but still parsed as custom tokens for concrete execution. This brings them back in line and places the token definition in the TEAL_SYNTAX module so TEAL programs with labels can also be parsed, e.g., inside claims.