-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Implement Vec
and Symbol
#13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, but please take a look at my comments.
Also, adding links to the specification in each of the sections (ie. the six bit strings) would be very helpful.
|
||
syntax Int ::= encode6bitChar(Int) [function, total, symbol(encode6bitChar)] | ||
// --------------------------------------------------------------------------------- | ||
rule encode6bitChar(I) => 1 requires 9 ==Int I // '_' == I |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rule encode6bitChar(I) => 1 requires 9 ==Int I // '_' == I | |
rule encode6bitChar(I) => 1 requires 95 ==Int I // '_' == I |
Is this a bug? The ASCII code for '_'
is 95, though it looks like your integration test is exercising this character.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. This is a bug. The Rust framework handles the encoding of small symbols on Wasm side without calling the host function. That's why the integration test couldn't catch it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a hand-written wasm test for small symbols.
Co-authored-by: gtrepta <[email protected]>
Co-authored-by: gtrepta <[email protected]>
add analytics and fix types configs
* Add GitHub workflow for SSL renewal This commit adds a new GitHub Actions workflow for renewing SSL certification periodically. The workflow will operate on user-defined environments, reducing manual effort and ensuring the SSL maintains its validity. The process involves the usage of the acme.sh script, running on self-hosted, Linux, flyweight runners. * fix: Replaced zerossl with letsencrypt --------- Co-authored-by: Yiyi Wang <[email protected]>
Implemented host functions:
vec_new_from_linear_memory
:v g
vec_unpack_to_linear_memory
:v h
symbol_new_from_linear_memory
:b j