Support SMT-LIB's str.to_code
and str.from_code
functions over strings
#222
Labels
enhancement
New feature or request
Currently,
what4
's symbolicString
API does not really offer a way to convert individual characters in a string to bytes (or vice versa). SMT-LIB 2'sstr.to_code
andstr.from_code
functions offer a way to accomplish this.str.to_code
converts a single-character string to its code point (represented as anInteger
), andstr.from_code
converts a code point back to a string. We should offerwhat4
versions of these functions.The text was updated successfully, but these errors were encountered: