jock-lang/README.md
2024-11-19 14:47:47 -06:00

902 B

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.