ZORP

NockApp framework: Developer Alpha

08/22/24

We’re pleased to announce the developer alpha of the NockApp framework. Specifically, we’re releasing alphas of two components: Crown, a library for building Nock Apps, and Sword, a solid-state runtime for Nock, with an interface specifically designed for Crown.

Crown provides a Rust interface to a Nock kernel, allowing to you peek and poke a Nock kernel and receive the results of these operations. It’s specifically architected to be as simple as possible, and to integrate easily with whatever you use for IO.

Sword is a solid-state Nock runtime, previously referred to as Ares. Sword is designed to integrate as a library, providing direct access to Nock execution within any Rust program. Sword can durably persist your Nock program’s state, so NockApps do not need to worry about databases, files, object-relational models, or serialization for persistence.

As part of the release we’re including a preview of choo: the Hoon compiler as a NockApp. It’s still very simple, but we’re working on improving it so that Hoon can easily be integrated into your favorite developer environment and CI.

We’ve got more examples actively in development:

Remember, this is an alpha. We expect bugs, pain points, and general rough edges. We’re dogfooding this internally, but we want the community of Nock developers to see what we’re working on and have a chance to play with it and give us feedback. File issues, reach out on X, and let us know what you think.

Just Nock. It’s simpler.