JavaCode7
Posted on April 3, 2021
An esoteric programming language (esolang for short) can be made for many reasons:
- Fun
- Proof of concept
- Learning And many others.
Here are some tips on 1 thing you should and one thing you should not do when making an esolang.
What you SHOULD use
If you are making a language that has commands, you should use string split functions.
String split functions are very useful when creating an esolang. Normally, they are used with some kind of delimiter. That delimiter can be what separates the commands of your esolang.
String split functions exist in many languages and can be used in many different ways. Here are some examples:
- Python
a: str = "string with spaces"
arr: list = a.split(" ")
- JavaScript
const a = "string with spaces";
const arr = a.split(" ");
- Ruby
a = "string with spaces"
arr = a.split(" ")
String split functions exist in many languages and are useful when making an esolang with commands.
What you SHOULDN'T do
I know that this sounds kind of rude but try not to come up with the syntax for the language yourself. There are many websites out there that you can use to get syntax ideas for your esolang. There is esolangs.org, libhunt and even github can be used for esoteric syntax ideas.
Posted on April 3, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.