Commit Graph

181 Commits

Author SHA1 Message Date
Kayne Ruse
86061cb74e Fixed an argument list bug, found a casting bug 2022-09-03 16:04:18 +01:00
Kayne Ruse
32d6b7124c All leaks plugged for the time being 2022-09-03 19:16:13 +10:00
Kayne Ruse
c039045c14 Progress 2022-09-03 09:47:08 +01:00
Kayne Ruse
e6fe42c0ca Getting sleepy 2022-09-03 09:20:21 +01:00
Kayne Ruse
672d68a73f Tweak 2022-09-03 09:18:41 +01:00
Kayne Ruse
1b8559f0ef Squashing bugs 2022-09-03 08:45:06 +01:00
Kayne Ruse
4ad33a3082 Fixed jumps in functions issue 2022-09-03 07:57:25 +01:00
Kayne Ruse
d2aacea8c5 This is really getting hard 2022-09-03 11:58:36 +10:00
Kayne Ruse
6c151e21b0 tired 2022-09-03 06:58:50 +10:00
Kayne Ruse
4625efecfd Fixed native function issues 2022-09-02 21:04:23 +01:00
Kayne Ruse
c58c8911fe Going well tonight - need a break 2022-09-03 00:51:55 +10:00
Kayne Ruse
1f6b3e232d I feel like there's just a few bugs left 2022-09-02 05:47:48 +10:00
Kayne Ruse
90d18c7520 fixed the fix 2022-09-02 04:03:40 +10:00
Kayne Ruse
ea3ca2751c Fixed failing printing of compound types 2022-09-01 18:56:28 +01:00
Kayne Ruse
90b504d3a4 No segfaults, still failing tests 2022-09-01 14:00:31 +10:00
Kayne Ruse
3a4017cea5 Lots of runtime errors 2022-08-30 12:09:11 +10:00
Kayne Ruse
14718a08d3 I fucking found it 2022-08-30 04:51:28 +10:00
Kayne Ruse
1c6c7e5d4f I GIVE UP 2022-08-29 21:38:54 +10:00
Kayne Ruse
08c8e7e3e6 Another one bites the dust! 2022-08-29 16:25:53 +10:00
Kayne Ruse
d055e9dc94 WE ARE THE CHAMPIONS! 2022-08-29 15:33:58 +10:00
Kayne Ruse
a6f0200255 Eventually gonna squash all of today's work 2022-08-29 04:08:31 +01:00
Kayne Ruse
61efb96fe2 Don't get testy with me 2022-08-29 12:23:48 +10:00
Kayne Ruse
1937d727bb Working on refactoring, read more
The main program segfaults, but right now I'm working on the tests, mainly.
2022-08-29 10:21:25 +10:00
Kayne Ruse
4fb2dea1b4 Found a leak, moving to linux 2022-08-28 23:47:58 +01:00
Kayne Ruse
f705d82aee Wrote some small tests 2022-08-28 09:35:46 +01:00
Kayne Ruse
71ff481f6c Began working on unit tests 2022-08-28 08:10:41 +01:00
Kayne Ruse
5300e2ceec Gonna start unit testing to resolve issues 2022-08-28 07:03:12 +01:00
Kayne Ruse
9c766ec61e Working on memory issues 2022-08-28 01:35:00 +01:00
Kayne Ruse
3355c3a4c2 Forgot printing native functions 2022-08-27 15:41:21 +01:00
Kayne Ruse
ec91bac8a5 Native functions are working 2022-08-27 15:39:42 +01:00
Kayne Ruse
e523a6f60a Interpreter adopts inner interpreter panic state on assert failure 2022-08-27 12:07:41 +01:00
Kayne Ruse
90e5a5d08b Rest parameter working 2022-08-27 11:59:54 +01:00
Kayne Ruse
85f3dfbf1d TODO tweak 2022-08-26 13:04:37 +01:00
Kayne Ruse
151f681954 calls within parameter lists 2022-08-26 13:03:18 +01:00
Kayne Ruse
7bd67765aa Functions take a set number of arguments 2022-08-26 12:48:10 +01:00
Kayne Ruse
f36289786e Fixed a repl bug 2022-08-26 11:59:09 +01:00
Kayne Ruse
ffc50ceafb Closures work 2022-08-26 03:54:58 +01:00
Kayne Ruse
0c67ce6476 Stopgap limit on return count 2022-08-26 02:14:05 +01:00
Kayne Ruse
a4f1e048e9 Function calls, with args and single returns are working 2022-08-26 01:48:26 +01:00
Kayne Ruse
041fe99e01 Function declaration seems to work 2022-08-25 15:19:08 +01:00
Kayne Ruse
4f70bea808 Implemented logical && and || 2022-08-23 05:07:17 +01:00
Kayne Ruse
6939b216a9 Added arithmetic assign operators 2022-08-23 03:33:28 +01:00
Kayne Ruse
ce2073832b Patched a potential leak 2022-08-22 21:23:24 +01:00
Kayne Ruse
08e2adab50 #15 Fixed some of the worst memory leaks 2022-08-22 20:51:09 +01:00
Kayne Ruse
b675c4c1bd Merge pull request #17 from lang-viper/0.6.0
Fix heap use after free
2022-08-23 04:57:11 +10:00
solar-mist
ae32a2e7ae Fix heap use after free in compiler.c 2022-08-22 18:48:44 +00:00
solar-mist
2f538e79fe Fix heap use after free in compiler.c 2022-08-22 18:48:08 +00:00
Kayne Ruse
ebe1d712c9 Null values are always allowed 2022-08-22 18:26:05 +01:00
Kayne Ruse
5b82ed8e45 Must force a type when dealing with compound types 2022-08-22 14:27:41 +01:00
Kayne Ruse
300f8e382b Store complex types in variables 2022-08-22 13:28:44 +01:00