Oct 12, 2012 06:30 PM
(This post was last modified: Oct 12, 2012 06:37 PM by -Max.)
Okay, so these last few hours I have been absolutely obsessed with Brainfuck. I don't know why but I found it extremely interesting! After writing a few BF interpreters on my own I decided to make my own minimalistic programming language in even fewer lines!
The idea of this language is to be able to program, well "program," with just one hand on the keyboard! Hahaha. I have accomplished this by using the q w e r and t keys. There are only 5 keywords unlike BF which has 8. The interpreter is also only 19 lines hahahaha. I am sorry I just find this whole thing very funny, and interesting.
q - moves the pointer to the left (pointer -= 1)
w - subtracts 1 from the cell that the pointer is currently on
e - adds 1 to the cell that the pointer is currently on
r - moves pointer to right (pointer += 1)
t - outputs data in cell as an ASCII character
Before you criticize me for not using OOP, I didn't see the need in something as small as this... so I thought I would beat you to that.
Here is an example of "Hello World!" in qwert.
Here is the interpreter: http://pastebin.com/WfHMkwHT
It is silly I know but it was fun to make. Tell me what you think! :)
The idea of this language is to be able to program, well "program," with just one hand on the keyboard! Hahaha. I have accomplished this by using the q w e r and t keys. There are only 5 keywords unlike BF which has 8. The interpreter is also only 19 lines hahahaha. I am sorry I just find this whole thing very funny, and interesting.
q - moves the pointer to the left (pointer -= 1)
w - subtracts 1 from the cell that the pointer is currently on
e - adds 1 to the cell that the pointer is currently on
r - moves pointer to right (pointer += 1)
t - outputs data in cell as an ASCII character
Before you criticize me for not using OOP, I didn't see the need in something as small as this... so I thought I would beat you to that.
Here is an example of "Hello World!" in qwert.
Code
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeetreeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeteeeeeeetteeetwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwtqeeeeeeeeeeeeeeetreeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
eeeeeeeeeeeeeeteeetwwwwwwtwwwwwwwwtwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwtHere is the interpreter: http://pastebin.com/WfHMkwHT
It is silly I know but it was fun to make. Tell me what you think! :)
I give programming advice, and I specialize in Python. PM me.
Python Coding Service
Max Pentesting Service
Python Coding Service
Max Pentesting Service



![[Image: xyaO7.png]](https://i.imgur.com/xyaO7.png)