DumbScript

This is an esoteric programming language made in C# by Doomguy0505.

Hello World O|--< @--- str O|--< 1+1=2 int O|--<_IS_>--|O @--- zzz str "Joo suck monkey balls!" O|--<_IS_>--|O 1+1=2 zzz int 20 x*y=x*y zzz 10 int [blah_blah_blah] >>>> str [blah_blah_blah] >>>> int patience anakin

Spec

 * O|--< (type) (varname)
 * Creates a variable
 * [type] can be "1+1=2" (double), "@---" (string), "<><><><>" (byte), "#,#,#" (double array), "@---,@---,@---" (string array), "*<><><><>,<><><><>,<><><><>" (byte array)


 * O|--<_IS_>--|O (type) (access-style) (varname) (value)
 * Sets a variable
 * [access-style] can be zzz (constant) or >>>> (variable)
 * [value] is a quoted string "this\nis\na\nstring" for strings and a number for doubles eg. 10


 * [blah_blah_blah] (access-style) (value)
 * Writes out to the console


 * x+y=x+y (access-style) (value) (varname)
 * Adds value to the variable


 * x*y=x*y (access-style) (value) (varname)
 * Multiplies the variable by the value


 * x/y=x/y (access-style) (value) (varname)
 * Divides the variable by the value


 * x\y=x\y (access-style) (value) (varname)
 * Integer divides the variable by the value


 * x^y=x^y (access-style) (value) (varname)
 * Powers the variable by the value


 * x|y=x|y (access-style) (value) (varname)
 * Does a bitwise or on the variable by the value


 * x&y=x&y (access-style) (value) (varname)
 * Does a bitwise and on the variable by the value


 * x<>y=rshift (access-style) (value) (varname)
 * Does a right bitshift on the variable by the value


 * x-xor-y=x-xor-y (access-style) (value) (varname)
 * Does a bitwise eXclusive OR on the variable by the value


 * !x=!x (varname)
 * Does a bitwise NOT on the variable


 * if (access-style) (varname) (line)
 * If the variable is not 0 then the interpreter will skip to the specified line


 * N0-W41
 * Exits


 * Prints "We got j00 now sneaky cow!\007", making a beep
 * Prints "We got j00 now sneaky cow!\007", making a beep


 * patience (jedi name)
 * Waits for user input, depending on the jedi name on how it does
 * [jedi name] can be "anakin", "obi-wan" or "yoda"
 * anakin is impatient so he waits for you to press one key
 * obi-wan is patient so he waits for you to press enter
 * yoda is very patient so he waits for you to press enter 100 TIMES!


 * moo
 * Shows the secret cow that feeds the program fresh milk

Download
Source Code

Executable