This day I was surfing the internet and looking for compiler test content and I found some rather different things, among them, I found some very strange programming languages.
Better known as ESOTERIC languages. 😱
An esoteric (ess-oh-terr-ick) programming language, or esolang, is a computer programming language designed for experimenting with strange ideas, difficult to program or as a joke, not for practical use. .
There is a small but active Internet community of people who create esoteric programming languages and write programs in them, and discuss their computational properties (for example, if those languages are complete in Turing).
brainfuck, also known as brainfck or BF, is an esoteric programming language noted for its extreme minimalism, created by Urban Müller in 1993. It is a complete Turing language designed to challenge and confuse programmers, and is not useful for practical use.
Because of its simplicity, developing compilers and interpreters for this language is much easier than for other languages. The name of the language is generally not capitalized (starting with a lowercase letter), despite being a proper noun.
Writing a “Hello World!” at brainfuck
First, create a file with extension **. Bf **:
vim hello-world.bf and insert the following contents into the file:
This is ** Hello World! ** (famous: Hello, World!) On brainfuck
After installing use the interpreter command to run using bff:
The result will be as expected! 😀
For more information, see their website: http://aminet.net/package.php?package=dev/lang/brainfuck-2.lha
The language Bitch was created by Helen 0903. The BITCHWISE name is a portmanteau between “bitch” and “bitwise”. It originates from the word “bitwise” as meaning “bitwise operations” - the only mathematical operations available in both languages.
The use of the dirty word “bitch” in “BITCHWISE” is to convey anger in a sudden and rude manner. They combine to help convey the combination of difficulty and esoteric design in the language.
Writing a “Hello World!” in Bitch
Bitch’s proposal is a bit different, it uses the Java compiler together with an interpreter. So to create and generate Hello World! create a .bitch file:
And insert this content in:
Now let’s turn this . To use the compiler, follow these commands:
See image below:
Of course you will need JDK and Git.
If you want to test online use tio.sh, and remember to add the
-c parameter, like this:
- Command-line options → ✚ add → -c. Then just click on play ▶ ️ at the top.
This subject is really not for everyone, it is more for those who like to know “under the hood”. It’s way beyond a job to program in a famous programming language! ☺️ If you like these subjects, I recommend you visit the site: https://esoteric.codes/, there is a lot of cool stuff there! 😯