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

OK

< >

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

#1072on PLDB 5Years Old
Download source code:
git clone https://github.com/jesseduffield/OK
REPL 路 Source 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 路 Add Prompt 路 Issues 路 About 路 Search 路 Keywords 路 Livestreams 路 Labs 路 Resources 路 Acknowledgements

Built with Scroll v178.2.3