75 questions
1
vote
1
answer
213
views
Can arbitrary precision integer increment in Brainfuck be done in O(1) code size?
I was fiddling with the Brainfuck esolang over the past few days, and tried to implement an increment operation on an N-byte-wide integer in big-endian format. Note that I am imposing a structural ...
0
votes
1
answer
72
views
Moving over variable number of NULL cells in Brainfuck (non-NULL terminated loops)
In Brainfuck loops continue until they finish an iteration on a NULL cell.
This means it is easy to move over a variable number of cells as long as there is a NULL cell to end on, for example a NULL ...
1
vote
1
answer
93
views
How to separate compressed words from each other in 05AB1E?
05AB1E is a golfing language and it has a large dictionary of words which can be implemented to the code using a single-character command or multi-character command.
Is there any way to separate the ...
0
votes
1
answer
130
views
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 ...
1
vote
1
answer
121
views
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 ...
1
vote
1
answer
321
views
Is there a way to print out the value at the pointer an a number in brainfuck?
I was wondering how I could print this value as a number NOT as a character an example would be that the pointer is on (125)
(0)(0)(125)(0)(0)
In this case when this snippet of would start, the ...
2
votes
1
answer
580
views
How do you use the comma command in Brainfuck?
I've been experimenting with the BF esolang today, as I graduated from hello world to an addition program, (which requires the data take in command), I could not for the life of me figure out how this ...
0
votes
1
answer
96
views
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 ...
0
votes
0
answers
38
views
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 ...
0
votes
3
answers
453
views
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 ...
1
vote
0
answers
3k
views
Chicken programming hello world
For 'fun' I'm trying to understand the esoteric programming language Chicken, but just can't seem to get it. The Hello World example is the one I'm trying to fully understand. Many sites refer to ...
3
votes
1
answer
359
views
Writing nested loop in ArnoldC?
ArnoldC is an esoteric language which uses movie lines(dialogues) of Arnold Schwarzenegger. It can be used to do many basic programs. I was trying to write a nested loop in it but was not able to ...
0
votes
1
answer
129
views
Befunge program looping unexpectedly at @
I've got a befunge program that takes a number from the user, compares it to another number and if it is correct then outputs a "y" and exits (otherwise it loops back to the start).
v < ...
0
votes
2
answers
868
views
"*** - EVAL: undefined function X" in Lisp
I'm making an interpreter for an esoteric programming language, and I made this program for it. However, instead of giving the desired output, it outputs
*** - EVAL: undefined function X
Can anyone ...
5
votes
5
answers
2k
views
How to print numbers from 1 to 10 using a loop in Brainfuck? Is it even possible?
How to print numbers from 1 to 10 using a loop in Brainfuck? Is it even possible?
I am looking for a solution to this issue.