Yakl
Jump to navigation
Jump to search
Yakl is a expression based object oriented interpreted language.
Syntax
Function calls
function(param1, param2, param3...)
Assignment
something = value
Program
returns last line
line1; line2; line3; ...
Functions
note you have to assign this to a variable or pass it to a function for it to be useful
function (param1, param2, param3...) { ...code... }
Objects
basically returns a scope, but acts like an object
object { ...code... }
Lists, Strings and Indexing
[item1, item2, item3...] "text" list[index]