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? -
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