Skip to content
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

chore: add an example named is13 #61

Merged
merged 3 commits into from May 29, 2019

Conversation

@mohanson
Copy link
Contributor

commented May 27, 2019

Add an example named "is13" to shows how to build C source code to riscv output, and then run this ouput by ckb-vm.

$ cargo run --example is13 13    # b"13" is thirteen
$ cargo run --example is13 0xd   # b"0xd" is thirteen
$ cargo run --example is13 HELLO # b"HELLO" is not thirteen

Why I add this?

I'm a newer for riscv or ckb-vm, When I first saw this project, I almost didn’t know how to get start. So, I googled, searched in QUIP, or some nervos public articles, which takes me so much time. It's worth to add an example in this repo.

@mohanson mohanson requested a review from nervosnetwork/ckb-code-review as a code owner May 27, 2019

@nervos-bot

This comment has been minimized.

Copy link

commented May 27, 2019

@doitian is assigned as the chief reviewer

examples/is13.rs Outdated Show resolved Hide resolved
examples/is13.rs Show resolved Hide resolved

mohanson added some commits May 27, 2019

@xxuejie xxuejie merged commit 45e8d87 into nervosnetwork:develop May 29, 2019

1 check passed

Travis CI - Pull Request Build Passed
Details
@doitian doitian referenced this pull request May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.