We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SAWScript Int variables are added as numeric type variables to the Cryptol context for parsing expressions:
Int
sawscript> let foo (n:Int) = {{ zero:[n] }} sawscript> foo 8 Cryptol.ecZero (Cryptol.seq (Cryptol.TCNum 8) Prelude.Bool)
However, the same variables are not in scope when parsing types within {| |} brackets:
{|
|}
sawscript> let bar (n:Int) = {| [n] |} sawscript> bar 8 Cryptol error: [error] at <stdin>:1:23--1:24: Undefined type 'n'
The text was updated successfully, but these errors were encountered:
Even types defined in the Cryptol prelude are not in scope:
sawscript> print {| Bit |} Cryptol error: [error] at <stdin>:1:10--1:13: Undefined type 'Bit'
Sorry, something went wrong.
b4a2a17
d2fd1f2
Merge pull request #37 from GaloisInc/sc-vector-reduced
affad38
Add vector size and bvAt checks in scVectorReduced
Merge pull request #37 from GaloisInc/text-lambda
62490c8
Adapt to GaloisInc/saw-core#119.
No branches or pull requests
SAWScript
Int
variables are added as numeric type variables to the Cryptol context for parsing expressions:However, the same variables are not in scope when parsing types within
{|
|}
brackets:The text was updated successfully, but these errors were encountered: