mirror of
https://github.com/anoma/juvix.git
synced 2025-01-04 05:33:27 +03:00
Juvix empowers developers to write code in a high-level, functional language, compile it to gas-efficient output VM instructions, and formally verify the safety of their contracts prior to deployment and execution.
021f183d33
# Changes 1. Adds a new command `juvix dev anoma node`. This command runs the anoma node. 2. Adds a flag `--anoma-dir` to `juvix dev nockma run`. When given, it must point to the anoma clone. Then, it will run the nockma code in the anoma node and report the result (with no traces). # Prerequisites 1. An anoma clone at some specific commit. ``` git clone git@github.com:anoma/anoma.git cd anoma git checkout 98e3660b91cd55f1d9424dcff9420425ae98f5f8 # build anoma mix deps.get mix escript.install hex protobuf mix compile # build the client mix do --app anoma_client escript.build ``` 2. The `mix` command (elixir). 3. The [`grpcurl`](https://github.com/fullstorydev/grpcurl) command. To install a single binary in `~/.local/bin` you can run: ``` curl -sSL "https://github.com/fullstorydev/grpcurl/releases/download/v1.9.1/grpcurl_1.9.1_linux_x86_64.tar.gz" | tar -xz -C ~/.local/bin --no-wildcards grpcurl ``` # Testing I've not included any test. It can be tested locally like this: ``` cd juvix/tests/Anoma/Compilation/positive juvix compile anoma test001.juvix echo 20 > args.debug.nockma juvix dev nockma run --anoma-dir ~/projects/anoma test001.nockma --args args.debug.nockma |
||
---|---|---|
.devcontainer | ||
.github | ||
app | ||
assets | ||
bench | ||
bench2 | ||
config | ||
examples | ||
gnuplot | ||
include | ||
juvix-stdlib@5eec27dfc9 | ||
licenses | ||
runtime | ||
scripts | ||
src | ||
test | ||
tests | ||
.clang-format | ||
.github_changelog_generator | ||
.gitignore | ||
.gitmodules | ||
.hlint.yaml | ||
.pre-commit-config.yaml | ||
cabal.hie.yaml | ||
cabal.project | ||
cabal.project.freeze | ||
CHANGELOG.md | ||
cntlines.sh | ||
CODING.md | ||
CONTRIBUTING.md | ||
justfile | ||
LICENSE.md | ||
Makefile | ||
package.yaml | ||
README.md | ||
stack.hie.yaml | ||
stack.yaml |
Juvix
CI Status |
---|
Codebase |
This repository is specifically dedicated to the compiler of the Juvix programming language.
For any Juvix-related inquiries, we strongly advise visiting the following resources.
Our documentation offers an in-depth understanding of the Juvix programming language. It encompasses a language reference, examples, blog posts, and numerous other resources to facilitate effective use of Juvix.