Building a Turing-Complete Language in JSON

What if JSON wasn't just a data format — but a programming language? That question led me to build lambda-json: a Turing-complete, homoiconic language that lives entirely within valid JSON syntax. Every day I see JSON flowing between services — config files, API payloads, state objects. But it's always treated as inert data. What if the data could compute itself? So I built a Lisp-inspired interpreter in JavaScript where a single JSON object can contain both your code and your data — and return a computed result. Lambdas, conditionals, higher-order functions, recursion — all expressed as valid JSON. It's been one of those projects that fundamentally changed how I think about the boundary between code and data — and how that boundary shows up in frontend architecture every day. Link to the repo in the comments. What's the side project that changed how you think about your day job? I'd love to hear. #OpenSource #JavaScript #ProgrammingLanguages #SoftwareEngineering #FunctionalProgramming

See more comments

To view or add a comment, sign in

Explore content categories