11 Commits

Author SHA1 Message Date
ea72da76a6 function Rework in progress
Almost done, I have to rewrite the math parser though
Found a major issue with it which causes some things not to work
\
But when its done youll be able to do implicit multiplication and it should be compiled more efficently than before.
2019-06-16 22:15:36 -04:00
4adcba383a Functions still need some work
Almost done fixing functions
2019-06-07 07:55:36 -04:00
bfb34916e3 Functions rework in progress
Currently working of functions.
Right now external hooking are not working. Some times they work great, other times it is hilighy glitched.

Internal functions work as expected and really well now. However when called outside things tend to go wrong
2019-04-07 08:48:57 -04:00
3af881e1a9 basic bytecode to file
Can now save bytecode to file. Will change in the future so dont use yet
2019-04-01 07:45:17 -04:00
ecf3762853 big additions
Added for loops and while loops

for i=1,10 <
    print(i)
>
for i=10,1, -1 <
    print(i)
>
while a!=1 <
    print("we looping")
>
2019-03-31 14:49:04 -04:00
0880687e15 Math within nested functions work as expected
ENTRY MAIN
USING extendedDefine
VERSION 4.1 //The version that nested functions was introduced
[MAIN]{
	// New feature functions inside of functions
	a = hmm(5,1)
	"a = $a$"
	b = hmm(hmm(6+5,hmm(1+5,1 + 1)),5 + sqrt(100))
	"b = $b$"
}
[hmm:function(a,b)]{
	return a+b
}
2019-03-28 14:18:22 -04:00
7f12111deb Fixing nested functions
Math and nested functions dont work
2019-03-27 09:14:30 -04:00
0856ab4711 Added Nested function calls 2019-03-27 08:31:39 -04:00
f2b6304035 small changes 2019-03-22 21:20:13 -04:00
ac7118092a What have I undertook
added stuff, fixed more bugs, more documentation, more pain and suffering

This is taking too long, but ill push through hahahahahahahahha
2019-01-26 19:45:50 -05:00
e277f8db56 minor changes 2019-01-04 18:52:55 -05:00