Logo

dev-resources.site

for different kinds of informations.

Tips for making an esolang

Published at
4/3/2021
Categories
esolang
esoteric
Author
javacode7
Categories
2 categories in total
esolang
open
esoteric
open
Author
9 person written this
javacode7
open
Tips for making an esolang

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(" ")
Enter fullscreen mode Exit fullscreen mode
  • JavaScript
const a = "string with spaces";
const arr = a.split(" ");
Enter fullscreen mode Exit fullscreen mode
  • Ruby
a = "string with spaces"
arr = a.split(" ")
Enter fullscreen mode Exit fullscreen mode

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.

Featured ones: