Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

OK

< >

OK is a programming language created in 2021 by Jesse Duffield.

#1033on PLDB 3Years Old
Download source code:
git clone https://github.com/jesseduffield/OK
REPLSource Code

Welcome to the future of programming languages: OK?


Example from the web:
let divide = fn(a, b) { return switch b { case 0: [NO!, "cannot divide by zero"]; default: [a / b, ""]; }; }; result = divide(5, 0) switch result[1] { case "": puts(result[0]) default: puts(result[1]) // prints "cannot divide by zero" }

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v154.2.0