Commit Graph

1845 Commits

Author SHA1 Message Date
Erik Svedäng
be458f20af started factoring out a function that handles func_deps 2016-01-29 16:27:06 +01:00
Erik Svedäng
dd1ec2ce30 fixed a bunch of problems with function pointers 2016-01-25 16:55:56 +01:00
Erik
e2cd8f7f4d popping value stack when catching an error 2016-01-22 16:12:26 +01:00
Erik Svedäng
d075b25d8c found a situation where if statements free variables incorrectly! 2016-01-21 22:05:25 +01:00
Erik Svedäng
8c4b4a0569 had to fix bug where a variable got generated twice in binop 2016-01-21 20:47:42 +01:00
Erik Svedäng
30f6c4a6dd changed type of functions from (:arrow ...) to (:fn ...) 2016-01-21 16:50:35 +01:00
Erik Svedäng
d361a5508f nicer and shorter names for generated C code 2016-01-21 16:46:07 +01:00
Erik Svedäng
45314f0be0 lifetime checker halts if a variable has been given away and is
referenced again
2016-01-21 16:08:06 +01:00
Erik Svedäng
b714ae5274 in the FFI, if a type isn't primitive it's assumed to be a void* 2016-01-20 12:22:55 +01:00
Erik Svedäng
655d6168cb started tinkering with a naive implementation of arrays, just to get a
feel for it
2016-01-20 10:58:57 +01:00
Erik Svedäng
55f0d88acb added a way of catching errors 2016-01-20 10:20:59 +01:00
Erik Svedäng
a519c11dd9 fixed test errors up until #16 2016-01-20 01:23:23 +01:00
Erik Svedäng
582686fabd added ref annotations all over the place 2016-01-19 17:33:43 +01:00
Erik Svedäng
6ea442e85d tests run, problem with let solved 2016-01-19 13:20:36 +01:00
Erik Svedäng
68d68cf895 even slimmer 2016-01-19 12:27:57 +01:00
Erik Svedäng
0062ecc879 while form has memory management 2016-01-18 23:50:37 +01:00
Erik Svedäng
1ba2ba4952 more tests 2016-01-18 22:39:43 +01:00
Erik Svedäng
c366d0ad7d solved some stupid earlier mistakes 2016-01-18 20:07:03 +01:00
Erik
7fd89e3cfd starting work on lifetimes for the other forms 2016-01-18 14:36:38 +01:00
Erik
3dd67ce9cf todos and some error checking 2016-01-18 14:11:00 +01:00
Erik
afb1d017db cleanups, can call ref in dynamic runtime 2016-01-18 13:43:59 +01:00
Erik Svedäng
174c4983b8 don't crash on GC, memory is handed over to ffi 2016-01-18 12:23:03 +01:00
Erik
586e964661 things are working OK but refs are still a little troubling 2016-01-18 09:50:45 +01:00
Erik
60174d329c lifetime for args is starting to work, still some hard work left 2016-01-17 23:31:55 +01:00
Erik
21923efe68 ref form 2016-01-17 22:56:35 +01:00
Erik
378ce9ebf7 clarification 2016-01-17 20:50:21 +01:00
Erik
188bab8fa5 can call functions with ref argument from repl 2016-01-17 20:48:51 +01:00
Erik
c7c65ba4ff can add :ref signatures 2016-01-16 19:19:24 +01:00
Erik Svedäng
4c80c80af0 bugz 2016-01-15 17:15:16 +01:00
Erik Svedäng
540a2ec797 equality for dictionaries 2016-01-15 16:48:26 +01:00
Erik
d2c73edb44 can compile 2016-01-15 10:09:47 +01:00
Erik
a5857d09f7 popping shadow stack when back at top level in REPL 2016-01-14 22:27:48 +01:00
Erik Svedäng
dae8a956ca gc only runs when necessary 2016-01-14 20:52:14 +01:00
Erik Svedäng
975df46e5d can run opengl app with GC 2016-01-14 20:35:18 +01:00
Erik Svedäng
d61f98a63b all tests run with GC in each step 2016-01-14 20:32:13 +01:00
Erik Svedäng
63c83a5322 added shadow_stack to the primops 2016-01-14 19:48:41 +01:00
Erik Svedäng
34177037af map doesn't crash, now I just need to fix all the other primops 2016-01-14 19:33:41 +01:00
Erik Svedäng
305f4b24a4 shadow stack solves GC almost 2016-01-14 18:40:27 +01:00
Erik
81010d5c34 messing around with the GC 2016-01-14 00:08:02 +01:00
Erik
f69def278e started work on gc 2016-01-13 19:49:33 +01:00
Erik
16d5e494d4 done 2016-01-13 19:38:08 +01:00
Erik
0433fca25f deleted mini.h 2016-01-13 19:35:26 +01:00
Erik
b33005ea4e cleaning up split 2016-01-13 19:33:43 +01:00
Erik
43bc0733a7 split runtime into several C-files 2016-01-13 19:25:41 +01:00
Erik Svedäng
b26b62a5a2 ready to roll 2016-01-13 14:09:27 +01:00