Header Ads

Show HN: I created a language called AntiLang – breaking all the conventions https://ift.tt/znkWAVh

Show HN: I created a language called AntiLang – breaking all the conventions AntiLang is an interpreted programming language written in Go. The basic idea of this is to keep all the logical parts of a language same, but reverse the structure of it. The idea for this project came when I was having a long midnight conversation with my friend and thought of writing such a weird language. The initial draft was far worse than the current implementation; we thought of reversing the brackets and the language would be read from bottom to top. I'm happy that I dropped that idea Technical details: As the interpreter is written in Golang, I compiled it to WASM, and the whole interpreter is running in the browser. For the editor, I'm using Monaco, the same library that powers the text editor in VSCode. I learnt how to build it while reading "Write an Interpreter in Go" by Thorsten Ball. The project is opensourced - https://ift.tt/2M4oTNY - do give it a star if you like the project. https://ift.tt/fHxgaqA February 23, 2025 at 08:00PM

No comments

Powered by Blogger.