Board Thread:Program Announcements/@comment-14486980-20131126152211

Well guys, I've been talking about how hard the THOLITU Programming Language Interpreter is, but that's not a true esoteric programming language. It's just overlycomplicated. I wanted to show you guys a true esoteric programming language. I call it: Witeal

Witeal (pronounced Whittle): Why is This Eaven a Language

It will be similar to the brainfuck programming language with its extreme minimalism. Have fun programming in it. I'll post a few examples: first a Hello World program, then a program that repeats a user input as an output.

Instructions:

"@" - declare start of program

"_" - declare end of program

"+" - add a character to stored string stack

"," - add a number to stored number stack

"-" - represents negative

"[" - declares start of loop

"]" - declares end of loop

"&" - return boolean/integer on condition

"/" - use stack

"." - next command

That's it! All the commands in the entire language right there. Here's a hello world program:

@              introduce program +-.            clear character stack ,,,,,.         add 4 to stored number stack (for convenience) +/,/,,.        add 'H' to stored stack +/,,.          add 'E' to stored stack +/,/,/,.       add 'L' to stored stack +/,/,/,.       add 'L' to stored stack +/,/,/,,,,.    add 'O' to stored stack +.             add ' ' to stored stack +/,/,/,/,/,,,,. add 'W' to stored stack +/,/,/,,,,.    add 'O' to stored stack +/,/,/,/,,,.   add 'R' to stored stack +/,/,/,.       add 'L' to stored stack +/,.           add 'D' to stored stack /+.            display stack "HELLO WORLD" [              initialize infinite loop ]              continue infinite loop _              declare end of program but this was written for readability. When writing code, it would be better to write it like this: @+-.,,,,,.+/,/,,.+/,,.+/,/,/,.+/,/,/,.+/,/,/,,,,.+.+/,/,/,/,/,,,,.+/,/,/,,,,.+/,/,/,/,,,.+/,./+.[]_ The output: HELLO WORLD

This program will get a user input, and repeat it as output. This program uses all the commands, despite its simplicity: @              introduce program ,-.            clear number stack [              initialize loop +-.            clear character stack /+.            display empty character stack, activating input ,/+.           converting the stored string stack to variable ,--.           adding a break in the variable +-,.           adding the enter key to string stack &,+-].         if the user did not press enter, loop +/,.           convert variable stack to character stack /+.            display now full character stack [              initialize infinite loop ]              continue infinite loop _              declare end of program or simply (or not so simply): @,-.[+-,./+.,/+.,--.+-,.&,+-].+/,./+.[]_ I hope you guys like the idea! I will make a compiler (no, not an interpreter) for this language in PTC if enough of you guys like the idea! 