32 Commits

Author SHA1 Message Date
05cc166925 The function rework is done!
Finally, this took way too long to get working. Major change to how one interacts with the interperter. No need to implicetly catch each case, defaults are set and can be overridden if needed.
2019-06-25 23:13:19 -04:00
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
7d5405f126 c;leaned up prints 2019-03-28 14:32:08 -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
37d37366b2 Merge branch 'master' of https://github.com/rayaman/parseManager 2019-03-27 08:31:49 -04:00
0856ab4711 Added Nested function calls 2019-03-27 08:31:39 -04:00
40d4c16b5f Merge branch 'master' of https://github.com/rayaman/parseManager 2019-03-25 17:27:20 -04:00
ba3744aacd test 2019-03-25 17:27:18 -04:00
f2b6304035 small changes 2019-03-22 21:20:13 -04:00
8a7baf793f doing some deep debugging 2019-02-25 11:19:23 -05: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
ced07851a7 more changes
Still some major bugs that i need to fix
2019-01-08 23:17:33 -05:00
7f3e8a5ebc many bug fixes and some wip features 2019-01-07 20:19:58 -05:00
da247dc5f0 added notepad++ syntax highlighting 2019-01-07 10:36:07 -05:00
350a2e7e30
Readme updated
reflects the new features in the library
2019-01-07 10:34:19 -05:00
abfd69ffe1 Finally some updates 2019-01-07 10:30:22 -05:00
e277f8db56 minor changes 2019-01-04 18:52:55 -05:00
2e7e1c2817 minor changes 2019-01-04 13:59:57 -05:00
f180fef6fb Massive changes to this.
Now compiles code then runs it! Total engine overhaul
2018-06-09 15:04:21 -04:00
f1c7fde65d fixed print stuff 2017-07-25 13:01:43 -04:00
b458da2f50 Math expressions can now be used in function arguments 2017-07-25 12:56:46 -04:00
5c31a9c274 Added the test code to the core
Still WIP though
2017-06-20 22:28:11 -04:00
cb1dd2fea6 more typos 2017-06-10 11:50:25 -04:00
d0d9e01362 typo 2017-06-10 11:47:06 -04:00
5d17bed504 Added examples of how to use this WIP of a module 2017-06-10 11:45:59 -04:00
1daadba201 added the parseManager
This is a WIP but works... In need of a rework tbh
2017-06-10 11:26:48 -04:00
ec13f75d67 Initial commit 2017-06-10 11:25:13 -04:00