RSFormat
Library that offers powerful alternative string formatting and printing for Javascript, building on modern template literals. It's inspired by Rust's formatting helpers, hence the name.
let n = 15,
s = rs`${n} in hex: ${n}:#X`;
// s == "15 in hex: 0xF"
println(rs`${'a'}:>7`);
// prints " a"Web Televideo
A web-based browser for Televideo, RAI's Italian Teletext service. This project was (admittedly coincidentally) published on Televideo's 40th anniversary.
Xenon
A lightweight component system for static HTML, using less than 650 bytes of Javascript. I used it to display my projects on the old version of my website.
Hello, {name}!
PGImg
Webtoy that generates unique 19x9 images from text seeds using their SHA-512 hash. It was a small gift to my girlfriend over a summer break from university; I wanted to create something that could be beautiful and unique to her despite the fact that i'm not very artsy.
rstypes
Type-safe implementation of extremely lightweight option and result types for Typescript and Javascript.
function divide(a,b) {
if (b == 0) return None;
return Some(a / b);
}
let x = divide(1, 2);
console.log(x.match(
n => n.toString(),
() => "Division by 0"
));unique-enum
Runtime-safe alternative to Typescript enums that maintains type safety and ergonomics. Each variant is stored as a unique object rather than a number at runtime which allows for more resiliency and some extra features, while intellisense still works as normal.
const Direction = Enum(
'North',
'East',
'South',
'West'
);cpk
Modern TOML-based dependency manager and project runner for C, designed around unity (one-file) builds. Inspired by Rust's cargo.
Verbena
Javascript library that transcompiles mathematical function definitions to native JS functions, in an end-user-safe way. This was my first parser/compiler-related project.
Shaditor
Older project from 2022, a client-side browser GLSL shader editor with flexible controls.