spork documentation
a nice little programming language i made, written in lua and c
built with lua 5.1 (64 bit version) and some c/c++
spork 1.0.2
the third public release of spork
released 13/02/26, 19:58
-
added while loops
-
added the ability to nest functions
-
added if statements
-
fixed how variable subsitution would substitute variables in string
note: the making of this release was painful
spork 1.0.1
the second public release of spork
released 31/01/26, 17:37
-
added new built-in word "return", used for returning values in functions
-
fixed a bug where doing out(x + y); would print "x + y"
-
added the ability to parse functions through other functions, e.g exampleFunction(exampleFunction2);
-
fixed a bug where you would need to put 2 semicolons at the end of a function call for it to work
note: most bugs are fixed, proper debugging is still a work in progress
spork 1.0.0
the first public release of spork
released 30/01/26, 21:50
-
added built-in "out(txt);", used for printing to the console
-
added built-in "loadLua(txt);", used for loading raw lua as string
-
added built-in "MessageBoxA(text, title, button, icon);", used for creating a messagebox using the windows api
-
functions are declared by doing declare funcName(a, b, c) {
}
-
one line coding isn't supported, for example declare foo(a) { out(a) } foo("a")
i dont know how to make it 1 line
-
although the code is blazing fast, there are no if statements, loops or anything useful really
note: goodluck doing anything meaningful with this version