Syntax

Variable Declaration


Number

var x = 1

String

var y = string squashed berry 3

One Word

var y = juice

Variable

var y = @ x

Boolean True

var z = bool true
var z = bool 1

Boolean False

var z = bool false
var z = bool 0

Array

var num_arr = [1, 54, 54, 543, 5345, 35435, 36565]

Plotting


Linear Graph

plot 1-2-3-4-5 time[s], 24-34-56-78-45 speed[m/s]
>>>
Picture of above example

Minified FOR Loop


For Loop

for 3 times : print greenBerry
>>> greenBerry
>>> greenBerry
>>> greenBerry

Printing


One Word

print a
>>> a

Eval

print eval (2 + 3 - 4)
>>> 1

String

print string a cat walks along the path
>>> a cat walks along the path

Variable Referencing

print @ x
>>> 1

Array

print @ num_arr
>>> [1, 54, 54, 543, 5345, 35435, 36565]]

Array Indexing

print @ num_arr[3]
>>> 543

Conditionals


Equality

if 2 = 2: print leaf
>>> leaf
if @ x = 1: print string x is 1
>>> x is 1
if fdasfdsre = gfdgras: print 1
>>>

Greater Than

if 2 > 3: print tree
>>>
if 3 > 2: print berrry
>>> berrry
if @ x > 4: print 1
>>>

Less Than

if 2 < 3: print tree
>>> tree
if 3 < 2: print berrry
>>>
if @ x < 4: print 1
>>> 1

Functions


Function Declaration

func vector: print string vector is fun

Function Declaration with Parameters

func p x: print @ x

Function Calling

call vector
>>> vector is fun

Classes


Class Declaration

class Man:power = 10 action walk: print walking...

Method / Action Calling

make Man walk
>>> walking...

Check Attribute

see power of Man
>>> 10

Add Attribute

add to Man attribute me = string i am me
>>>

Add Action

add to Man action run: print running...
>>>

Debugging


Internal

set debug on
>>> *var contents here*