jock-lang/README.md
Sigilante eba0ce2a8f
Some checks failed
Build / Get Choo (push) Has been cancelled
Build / Build Jock Test executable (push) Has been cancelled
Implement basic Hoon testing pattern. (#11)
* Fix preliminaries like else keyword.

* WIP but commit version in issue #10

* Post working testing framework.

* Post generated tests.

* Post with jamfile.

* Post checked testing pattern.

* Post instructions.
2024-11-25 13:01:20 -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.