Niblick
C-like compiler for the Hackaday Supercon.6 2022 (Voja4) badge. It compiles to
the badge's 12-bit instruction set, emits assembly and a .hex image, and
includes a headless emulator.
Open the live editor | Read the documentation
Target
| Item | Value |
|---|---|
| Data width | 4 bits |
| Code space | 4096 12-bit words |
| Data RAM | 256 nibbles |
| General registers | 10 |
| Hardware call stack | 5 entries |
| Display | 8x16 LED matrix |
| Serial | 9600 8N1 UART |
Install
python3 -m venv .venv
.venv/bin/python -m pip install -e ".[dev]"
Quick start
.venv/bin/python -m niblick examples/hello.nbl --run
import "lib/uart.nbl";
const char message[] = "Hello, Supercon!\n";
fn main() {
uart_route(1);
uart_init(3);
uart_puts(message);
}
The compiler writes <source>.asm and <source>.hex next to the source file.
Documentation
| Page | Contents |
|---|---|
| Installation | Requirements and setup |
| Language | Syntax, types, expressions, statements, functions, structs, imports |
| Standard library | Intrinsics and lib/ modules |
| Toolchain | CLI, emulator, diagnostics, debugger, editors |
| Internals | Compiler, runtime ABI, ISA, memory map, numeric helpers |
| Examples | Example index |
| Project | Layout, contributing, tests, release |
License
GPL-3.0-only. See LICENSE.
Metadata
Release files for niblick 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| niblick-1.0.0.tar.gz | 218.5 kB | With provenance | Details for niblick-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| niblick-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for niblick-1.0.0-py3-none-any.whl |
Total release size: 398.0 kB
Release files / niblick-1.0.0.tar.gz
| Download URL | niblick-1.0.0.tar.gz |
|---|---|
| Size | 218.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b916728e5152e80a94ea74c01e003c5e635d2e357275afcd4d1261f3379b545
|
|
BLAKE2b-256 checksum How to use checksums |
01f4bab37925cf2d68847562e854184a0ff77dba3bebc82898c615abbe1fe78b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / niblick-1.0.0-py3-none-any.whl
| Download URL | niblick-1.0.0-py3-none-any.whl |
|---|---|
| Size | 179.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36065b76f051203771a49e14e914aaa904037126f2ea87434281f928e3e8126d
|
|
BLAKE2b-256 checksum How to use checksums |
ab4d550409a1ab52df83e2d71c247d395451dbe634d9d29e12838de7759ba2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for niblick 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for niblick-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.