A simple scripting language that compiles to Nock.
Go to file
2024-11-19 14:47:47 -06:00
.github/workflows build: fix 2024-10-21 16:00:12 -05:00
assets Post checked testing pattern. 2024-11-19 14:45:16 -06:00
hoon Post checked testing pattern. 2024-11-19 14:45:16 -06:00
.gitignore ignore choo and out.jam, which are external or built 2024-11-11 14:56:07 +00:00
Cargo.lock bump crown and sword 2024-11-12 13:20:04 -05:00
Cargo.toml bump crown and sword 2024-11-12 13:20:04 -05:00
LICENSE Initial commit 2024-10-21 14:30:41 -05:00
main.rs bump crown and sword 2024-11-12 13:20:04 -05:00
Makefile The commented out run of update-cargo.py prevents cargo build from running 2024-11-11 14:56:45 +00:00
out.jam Post checked testing pattern. 2024-11-19 14:45:16 -06:00
README.md Post instructions. 2024-11-19 14:47:47 -06:00
rust-toolchain.toml jock: all files 2024-10-21 15:28:36 -05:00
update-cargo.py Post Makefile to support choo. 2024-11-05 17:16:14 -06:00

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.