{"by":"sirbread","descendants":59,"id":45555523,"kids":[45560437,45558574,45559637,45558058,45560859,45560071,45559304,45560162,45559068,45559875,45557438,45568807,45616971,45557816,45569074,45558399,45558248,45559972,45557977,45557555,45558348,45557934,45560778,45558143,45558620,45557647,45556874,45558015],"score":176,"text":"i made an esoteric programming language which i call spellscript.\nevery program is a &quot;spell&quot; written in a &quot;grimoire,&quot; and you have to use keywords like summon, enchant, inscribe, and conjure.<p>it&#x27;s literally read like a spellbook because the syntax consists of all natural language, and newlines are optional. your code can now be an essay, like everybody wants!<p>for example, if you want to print something, you&#x27;d write:\n`begin the grimoire. inscribe whispers of &quot;hello, world!&quot;. close the grimoire.`<p>it has variables, dynamic typing, arrays, functions, conditionals, loops, string manipulation, array manipulation, type conversion, and user input, among other (listed in the docs!)<p>but why? i wanted to see how far you could push natural language syntax while still being parseable. most esolangs are intentionally obtuse (BF, Malbolge), but i wanted something that&#x27;s weird but readable, like you&#x27;re reading instructions from a spellbook, which makes it incredibly easy to read and understand. like an anti-esolang? hmm...<p>github: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;sirbread&#x2F;spellscript\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;sirbread&#x2F;spellscript</a><p>docs: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;sirbread&#x2F;spellscript&#x2F;blob&#x2F;main&#x2F;resources&#x2F;documentation.md\" rel=\"nofollow\">https:&#x2F;&#x2F;github.com&#x2F;sirbread&#x2F;spellscript&#x2F;blob&#x2F;main&#x2F;resources&#x2F;...</a>","time":1760247060,"title":"Show HN: I made an esoteric programming language that's read like a spellbook","type":"story","url":"https://github.com/sirbread/spellscript"}