RuyiLi/cursed-typescript
View on GitHub ↗ ★ 101 TypeScript
TypeScript's type system is Turing complete - let's abuse that!
5 mentions on Hacker News by 2 people: 3 stories, 2 comments · first 2023-09-08 · latest 2024-10-21
20082026
-
…of life, sudoku solver, brainfuck interpreter, etc) but entirely within Typescript's type system https://github.com/ruyili/cursed-typescript/
comment by candleknight · 2024-10-21 · in Ask HN: What's the most creative 'useless' program you've ever written? -
▲ 1
Show HN: A Type-Level Brainfuck Interpreterstory by candleknight · 2024-04-30 · 0 comments
-
That's not really true; I see unit-tests for type-level stuff frequently. Here's some: https://github.com/RuyiLi/cursed-typescript/blob/master/type...
comment by johnfn · 2024-04-15 · in Trying to Understand Copilot's Type Spaghetti -
▲ 3
Show HN: A Sudoku solver in TypeScript's type systemstory by candleknight · 2024-02-11 · 1 comment
-
▲ 186
Show HN: Conway's Game of Life in TypeScript's type systemstory by candleknight · 2023-09-08 · 45 comments