Questions tagged [esoteric-languages]

Esoteric languages are languages designed to push the boundaries of accepted programming language design, either as a joke or as a proof of concept.

Esoteric programming languages are programming languages that are designed as a test of the boundaries of programming-language design, as a joke, or as a proof of concept. These languages are not intended for mainstream use. The first esoteric language was INTERCAL. Brainf*ck is another well-known esoteric programming-language.

74 questions
1
vote
1 answer

Esoteric language with 5 operators

I need to implement a Brainfuck language like(?) language There are 5 commands for the language. Initially, int x=1; at start of the execution of the algorithm Each command does the following in C language. "+": x+=1; "-": x-=1; ">": x= x*2; "<" :…
Daniel
  • 15
  • 5
1
vote
1 answer

Optimizing Deadfish Constant Calculator in Python

Deadfish is an esoteric "programming" language (created as a joke, not turing complete). In it, there is a single variable - an integer initialized at 0 - with 4 operations: Counter += 1 = i Counter += -1 = d Counter = Counter * Counter =…
Julian Lachniet
  • 223
  • 4
  • 25
1
vote
1 answer

esoteric programming and my analysis

Recently I encountered a question about esoteric programming language. There are the tools of that language. > - increases the data pointer (so it points to the next cell in the array); < - decreases the data pointer; + - increments the value in the…
Tony Chen
  • 183
  • 1
  • 16
1
vote
2 answers

Implementing Intelligent design sort

This might be frivolous question, so please have understanding for my poor soul. After reading this article about Intelligent Design sort (http://www.dangermouse.net/esoteric/intelligentdesignsort.html) which is in no way made to be serious in any…
nenadg
  • 420
  • 11
  • 16
1
vote
2 answers

Why does this program in ><> (Fish) run so slow after a while?

The program 1+:o in the esoteric programming language ><> (Fish) slows down over time, and I don't know why. It slows down most on the :, which duplicates the item at the top of the stack, and slows down somewhat on the o, which prints out the…
DanTheMan
  • 121
  • 1
  • 5
1
vote
3 answers

How do I run different esoteric programs?

I was looking online and i found a cool list of esoteric languages. How would I run these? http://listverse.com/2011/02/17/top-10-truly-bizarre-programming-languages/ Obviously, each language have its own program, but how do I run it?
1
vote
3 answers

Memory Index in Brainfuck Language

I am new to this language. command < is used to decrement the pointer of memory index. Below code is for adding two single digit number. According to this program, it first takes input and then stores it at memory[0], as initially memory index is at…
user2124441
  • 125
  • 3
  • 10
1
vote
1 answer

Is there a programming language whose declarations are similar to those used in UML?

Like: Employee: Person name: String id: int + employeeCount(): int { --------------- return employeecount } + name():String { return name; } - secret():void { …
OscarRyz
  • 196,001
  • 113
  • 385
  • 569
1
vote
1 answer

What happens in Befunge if the execution reaches the limits of the program?

I couldn't find an answer to this question... Is there a "periodic boundary condition"? I.e. does the execution continue on the opposite site? Or is it illegal that the execution leaves the program?
steffen
  • 8,572
  • 11
  • 52
  • 90
0
votes
1 answer

How to have text before the input in Brainfuck?

How do I make it so that the question is asked before the input in Brainfuck? What I want: What is your number: 3 What I get: 3 What is your number: So the input executes before the text is printed even though the text is written first in the…
Baseed
  • 1
0
votes
0 answers

Example program for Schönhage's RAM0 Random Access Machine model

I'm making a website for simulating a Random Access Machine with user defined instruction sets. I wanted to give some examples of different instruction sets, and I have stumbled upon the RAM0 instruction set. It defines only 6 instruction: Z (set z…
0
votes
1 answer

Why is my Parser written in Racket Brag exceeding 128 MB memory limit

I'm writing an esolang I designed (called RifL) in Racket using the beautiful racket textbook. I'm 99% done, and was testing RifL by writing a larger program in it. When the RifL program got large enough, running it became very very slow, and…
0
votes
1 answer

How is this simple add numbers and output code doesn't work? (Whitespace language)

I want the code to output 5, which is got from 2+3 (inputted from stack manually) [space][space][space][tab][space] push 2 [space][space][space][tab][tab] push 3 [tab][space][space][space] add together [tab][lf] [space][tab] output number But it…
Cheng Adrian
  • 177
  • 10
0
votes
0 answers

Result “almost doubles” on Try It Online for Project Euler

This code is for Project Euler Problem 1. It appears to work here, but on Try It Online (tio.run) the result appears to "almost double" (twice the expected result minus 1). It seems like every number is added twice. Is it possible to fix it? `,` …
0
votes
3 answers

Equalizing the lengths of all the lists within a list? (Python)

Important context: Dig on the esolang wiki I am making an compiler for a esoteric programming language, using a 2d list to account for the language’s 2d nature. The problem comes when I need all the lists in the one mega list to be of same…
Emerald
  • 13
  • 2