mirror of
https://github.com/zorp-corp/jock-lang.git
synced 2024-11-27 08:54:59 +03:00
A simple scripting language that compiles to Nock.
.github/workflows | ||
assets | ||
hoon | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
main.rs | ||
Makefile | ||
out.jam | ||
README.md | ||
rust-toolchain.toml | ||
update-cargo.py |
Jock, a friendly and practical programming language
This is a developer preview of Jock, a friendly programming language that compiles to Nock.
Visit the blog post for more information.
The Jock compiler is written in Hoon.
Prerequisites
Jock requires a choo
NockApp executable. The Makefile
can retrieve the latest tagged choo
. For Linux, run the following:
make update-choo
If you would like a nightly build of choo
, or if you are using something other than Linux, clone this repo and build.
Then copy the choo
executable to the root folder.
Building
To build and run Jock with tests:
make release
./target/release/jock-testing test-all
This will execute all of the supplied programs, then run unit tests over each of the compilation steps in producing each program's Nock.