IHISIANGTUI

From Esolang
Jump to navigation Jump to search

Name = I Hate Indentation So I Am Not Going To Use It

instructions:
.. make variable
.= set
.+= add (or concatenate if both are strings)
.-= subtract
.*= multiply
./= divide
.%= mod
to: moves 2 variables

say: output something
forever
when pressed
note: note a variable to later use in rand, floor, input, bio, letter-of and len-of.
BIO: break/jump-out-of-loop if note is over N
input: ask for input (stored in variable)
rand: random double 0.0 - 1.0 to variable
floor: floor of variable
letter-of: letter of variable
len-of: length of variable

hello world in IHISIANGTUI

say Hello, world!

functions

functions are added using add [insert function name] and they are defined with:

function name [
// code
] end function

random code to learn its syntax

// this is how variables are defined
var ..
moved ..

// function spots
add hi

forever [
when x is pressed [
&var .+= 1
// line below moves variables
&var to &moved
&moved .%= 10
say &moved
]

// leave loop if var is over 15
note &var
BIO 14
] end loop

say finish!!!
note 1
wait
// call hi
go hi
wait
say this works!
wait
say 

// functions can be in any place
function hi [
say hi
] end function

interpreters

scratch interpreter