{"by":"SirusCodes","descendants":124,"id":43152033,"kids":[43190090,43192351,43191080,43190063,43192484,43189657,43180974,43192336,43180807,43192847,43190909,43179744,43191342,43181321,43180269,43204152,43189736,43194391,43194378,43196747,43194098,43192947,43193325,43181345,43194984,43199791,43194368,43191680,43192961,43192856,43194425,43194771,43185037,43180123,43189039,43193351,43194932,43180420,43195068,43191421,43190908,43180025,43193666,43192498,43180313],"score":143,"text":"AntiLang is an interpreted programming language written in Go. \nThe basic idea of this is to keep all the logical parts of a language same, but reverse the structure of it.<p>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&#x27;m happy that I dropped that idea<p>Technical details:\nAs the interpreter is written in Golang, I compiled it to WASM, and the whole interpreter is running in the browser. \nFor the editor, I&#x27;m using Monaco, the same library that powers the text editor in VSCode.\nI learnt how to build it while reading &quot;Write an Interpreter in Go&quot; by Thorsten Ball.<p>The project is opensourced - <a href=\"https:&#x2F;&#x2F;github.com&#x2F;SirusCodes&#x2F;AntiLang\">https:&#x2F;&#x2F;github.com&#x2F;SirusCodes&#x2F;AntiLang</a> - do give it a star if you like the project.","time":1740337221,"title":"Show HN: I created a language called AntiLang – breaking all the conventions","type":"story","url":"https://siruscodes.github.io/AntiLang/"}