Blyx Nest Blyx language

Build and ship a Blyx project

Follow one program from its first run to a release another developer can reproduce.

Choose an execution target

Try a small program in the browser playground. For local work, choose a compiler for your operating system from Blyx downloads. The self-hosted compiler covers integer and control-flow programs. Use the documented host toolchain for the native examples on Nest.

Start with a working example

Network reads can split one Unicode character across two buffers. Install UTF-8 Stream to validate the bytes across both reads. The included example tests the boundary in the three-byte euro sign.

nest demo utf8_stream@0.1.0
blyxc native-run utf8_stream-demo/main.blyx

Connect to another program

Netstring Stream recognizes binary message boundaries, including an empty message or a comma inside the payload. Your application supplies the socket and passes each incoming byte to the parser. For an HTTP integration with Nest itself, the registry SDK reads a published file by exact version and verifies its digest.

Plan storage and recovery

Use Edition Review for review decisions or Outbox Delivery to exercise a delivery workflow. Your application must persist state and perform database writes. Test restart and duplicate delivery against your chosen database before deployment.

Test and distribute

Compare your example's complete output with expected.txt. Commit the manifest and license with your source, publish a tagged version, then follow the author guide. Nest CI installs and runs the examples before deploying the catalog. Record a specific package version in your application and commit the generated lock files.

Observe the deployed software

Use your hosting provider's logs and metrics for application errors, latency and usage. The Nest statistics describe published software. For packaging help, ask in the Blyx Language Discord.