Questions tagged [malbolge]

Malbolge is a public domain esoteric programming language invented by Ben Olmstead in 1998, named after the eighth circle of hell in Dante's Inferno, the Malebolge.

Some more background info from the related wikipedia article:

Malbolge was specifically designed to be almost impossible to use, via a counter-intuitive 'crazy operation', base-three arithmetic, and self-altering code.[1] It builds on the difficulty of earlier, challenging esoteric languages (such as Brainfuck and Befunge), but takes this aspect to the extreme, playing on the entangled histories of computer science and encryption. Despite this design, it is possible (though very difficult) to write useful Malbolge programs.

7 questions
32
votes
1 answer

Accept user input

I am currently writing a text-adventure type game in Malbolge. Can anyone tell me how to accept a user input in Malbolge? I am able to output text to the screen, however, I can't seem to figure out how to accept input.
jgallant
  • 11,143
  • 1
  • 38
  • 72
11
votes
0 answers

Is there any way to make programming in Malbolge any easier?

Andrew Cooke had to create a genetic algorithm to come up with the first "Hello World" program for Malbolge two years after it was created. Hisashi Iizawa was able to create a loop version eight years after it was created. Is there an easier way of…
pageman
  • 2,864
  • 1
  • 29
  • 38
7
votes
1 answer

How can I read and write a file in Malbolge?

I'm trying to write a social networking site in Malbolge with CGI. I need to store data in a database. How can I read and write files in Malbolge?
user142019
4
votes
1 answer

What should be memory filled with if my malbolge program contains only 1 instruction?

According to the original specification '98, Ben Olmstead Malbolge VM fill empty memory cells using crazy op on two previous cells. "Cells which are not initialized are set by performing op on the previous two cells repetitively." I.e. [m] = crz…
Yury Tarabanko
  • 44,270
  • 9
  • 84
  • 98
3
votes
1 answer

Tritwise rotate right and tritwise crazy operation throws a segmentation fault

The tritwise operations, rotating right and the crazy operation, fail to function correctly and throw a segmentation fault in the Malbolge compiler/interpreter. I've decided to start programming in Malbolge after seeing amazing answers on Coding…
MilkyWay90
  • 2,023
  • 1
  • 9
  • 21
3
votes
2 answers

How do I recognise a string as Malbolge source code?

Suppose I was given a string that looks completely garbage, and I am asked to identify what it could possibly be, there are tell-tale signs that crypto-analysts use to form a set of hypotheses to be tested. Are there such signs for Malbolge? Take…
Morpheu5
  • 2,610
  • 6
  • 39
  • 72
0
votes
1 answer

How to print user input in malbolge?

Finally, after some months of research I accept user input, but now I'm trying to print it in the screen. Is that possible using Malbolge?
Benjamin RD
  • 11,516
  • 14
  • 87
  • 157