All projects

JLang

A small programming language for learning how computers work at the level of bits, bytes and pins.

Where
Personal project
My role
Design and implementation
When
2026 to now
Status
Open source
Built with
CRISC-VWebAssemblyTypeScriptNext.js

What it does

  • Bits are read and written with datasheet notation, like reg[7..4] = 5
  • Manual memory that reports use-after-free, double frees and leaks with line numbers
  • Compiles to RISC-V machine code that matches the GNU assembler byte for byte
  • Runs in the browser, on a simulated board and on microcontrollers

Why it exists

Integers in JLang overflow like CPU registers, bits can be sliced like a datasheet, and memory is managed by hand with every mistake reported on the line where it happens. It's meant for learning what a computer is actually doing.

How it works

Programs run on a bytecode virtual machine with a simulated board, or compile to RISC-V machine code with JLang's own assembler and emulator. The same C core runs in the browser as WebAssembly, which is how the documentation runs its examples.

Next projectVolunteer portalA self-service portal where a charity's volunteers find opportunities, register for schedules, browse training and review their activity.