Relationship to Jock#
Jock is a programming language designed to compile from a high-level syntax down to Nock code. Jock aims to be more user-friendly and accessible than Hoon, making it easier for developers to write and understand code that compiles to Nock. In particular, Jock models its syntax on Swift and Rust.
Jock permits direct expression of Nock concepts while providing syntactic sugar to make common patterns easier to write. This makes Jock a good choice for developers who want to work with Nock without the complexity of Hoon.
At the current time, the public release of Jock is at alpha stage, with ongoing development by ~lagrev-nocfep to expand its features and capabilities.
Example#
This Jock program:
var a: Bool = true;
a = false;
a
compiles to the following Nock code:
[8 [1 0] 7 [10 [2 1 1] 0 1] 0 2]
More examples are available at the Jock site.
Further Reading#
Jock Documentation: The Jock landing page provides a brief overview of the language and its relationship to Nock.
Jock GitHub Repository: The original GitHub repository.
Jock Recommenced GitHub Repository: The new GitHub repository (currently private).