Skip to content

Fix shell#31

Open
yhdengh wants to merge 12 commits into
mainfrom
fix-shell
Open

Fix shell#31
yhdengh wants to merge 12 commits into
mainfrom
fix-shell

Conversation

@yhdengh
Copy link
Copy Markdown
Contributor

@yhdengh yhdengh commented May 20, 2026

  • Add a CanonicalHandle-only implementation of Fix shell
  • Partially implement coupon collector and an evaluator that evaluates by making trades with the coupon collector
  • Add a host-side front-end that accepts script-like commands:
    • Only supports one invocation (eval, apply or trade) of the VMM portion in each invocation of the front-end.
    • The return value of the script is serialized to .fix and can be reloaded via handle() or tag()

yhdengh and others added 12 commits May 12, 2026 10:46
### PR Description

- Added a fake runtime that does naive addition applications
- Added a front-end for the CLI that can read and parse commands to send
to the backend runtime (fake, real, or other future runtimes).

### Usage

fix-cli -- <fake|real> -- <commands...>
fix-cli -- <fake|real> --path <file>

### Examples

- cargo run -p evaluator --bin fix-cli fake --path
fix/evaluator/add_script.txt
- cargo run -p evaluator --bin fix-cli fake --
"print(getBlob(apply(makeTree(makeBlob(+), makeBlobInt(1),
apply(makeTree(makeBlob(+), makeBlobInt(2), makeBlobInt(3)))))))"

---------

Co-authored-by: Haibib Kerim <haibib@puffer5.stanford.edu>
Co-authored-by: Yuhan Deng <yhdeng@stanford.edu>
@yhdengh yhdengh requested a review from Akshay-Srivatsan May 20, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants