Commit Graph

88 Commits

Author SHA1 Message Date
Erik Svedäng
82d1ac59eb solved mystery with failing call to def? (it checked the local env,
should be global)
2016-03-07 16:45:56 +01:00
Erik Svedäng
1fbf447065 map-copy works 2016-03-07 15:58:21 +01:00
Erik Svedäng
e429dce74c can use constructor function in non-head position in lists 2016-03-07 15:13:20 +01:00
Erik
88db88775d Struct getter starts with get- now 2016-03-04 14:32:15 +01:00
Erik
211f51d5df println* 2016-03-04 11:55:20 +01:00
Erik
d1f2966c81 can handle * in function names 2016-03-04 11:50:03 +01:00
Erik Svedäng
fed784a166 time for bed 2016-03-03 23:29:47 +01:00
Erik Svedäng
0464ea300a strings work too! 2016-03-03 23:26:31 +01:00
Erik Svedäng
e9caac1429 mapping floats 2016-03-03 23:21:04 +01:00
Erik Svedäng
4b3e94aff8 map! 2016-03-03 23:19:32 +01:00
Erik Svedäng
c7fc058627 constraints for struct constructor args 2016-03-03 23:02:36 +01:00
Erik Svedäng
f0c0b260c6 trixy-3 2016-03-03 22:54:56 +01:00
Erik Svedäng
3bf2ff8c62 made more code work 2016-03-03 22:51:47 +01:00
Erik
83d6ef7be2 identified problem 2016-03-02 22:46:37 +01:00
Erik
2dc6c6afe4 don't bake 2016-03-02 22:39:04 +01:00
Erik
b108a599bc found some corner cases 2016-03-02 22:33:25 +01:00
Erik
6e8d6b9ec0 tests run, can generate str-functions for things inside arrays 2016-03-02 22:16:14 +01:00
Erik
5dc914fd31 todoo 2016-03-02 21:37:17 +01:00
Erik
354bfedf2f fixed bug where a generic function using other generics would fail to compile 2016-03-02 21:23:12 +01:00
Erik
8481921756 tests run but still can't compile tricky function 2016-03-02 20:41:56 +01:00
Erik
e79010a70b don't commit crash 2016-03-02 19:15:52 +01:00
Erik
1d9908acc7 warns when finding generic type with missing parts 2016-03-02 19:15:08 +01:00
Erik Svedäng
597b9e3a63 graph function for printing a dependency graph 2016-03-02 14:58:27 +01:00
Erik Svedäng
0f48d7f002 all tests run, function graph seems pretty OK... 2016-03-02 14:33:05 +01:00
Erik Svedäng
75907c308a function graph and recompilation works, allthough it does it too much 2016-03-02 13:33:33 +01:00
Erik Svedäng
c3194deafd better unload-if-necessary function 2016-03-02 11:14:49 +01:00
Erik
049aebf24c The primop 'map' can handle pointers to C arrays 2016-02-29 13:47:37 +01:00
Erik
6dad62b17e todo 2016-02-28 23:18:12 +01:00
Erik
ed1bcb6f7f template function 2016-02-28 11:19:21 +01:00
Erik
cbcf56f1b4 can aaaalmost compile struct constructors to c 2016-02-27 00:58:15 +01:00
Erik
c05199f44a struct lookup/creation handles strings 2016-02-27 00:02:13 +01:00
Erik
c383c7400a todoo 2016-02-26 17:42:49 +01:00
Erik
5e55e7820c trying to solve GC bug in obj_to_string_internal for pointers to Array 2016-02-26 17:13:39 +01:00
Erik
3b55cae42e getting pointers to Array to print nicely (in repl) was harder than expected... 2016-02-26 14:40:58 +01:00
Erik
46cd84aad0 moved code into tests 2016-02-26 14:18:46 +01:00
Erik
0f309b5aa8 can bake str for floats and strings too 2016-02-26 14:16:12 +01:00
Erik
993a6196f4 can bake 'str' for array 2016-02-26 14:04:22 +01:00
Erik
e494da9801 Obj:s of pointer type know their actual type via the meta data :type 2016-02-26 10:17:04 +01:00
Erik
8bb674dc0d generic primops are baked to proper dylibs to enable calling them from repl 2016-02-26 09:51:44 +01:00
Erik
c865c7d006 split tests up into more files 2016-02-26 09:13:08 +01:00
Erik
98a2d37442 array literals work, fixes for the types in C code 2016-02-26 01:12:49 +01:00
Erik
556055fb0e struct constructors next! 2016-02-26 00:48:22 +01:00
Erik
87a194990c array literals!!! 2016-02-26 00:41:58 +01:00
Erik
af5f43fece can compile print-small-array 2016-02-26 00:28:09 +01:00
Erik
d055e46277 fixed crashbug with meta-get where it would push NULL to the stack 2016-02-26 00:06:47 +01:00
Erik
0de56f567d found and fixed another recursive constraint bug 2016-02-25 23:45:00 +01:00
Erik
d5e5101c68 solved super annoying bug in constraint solver (nested lists were not
substituted correctly)
2016-02-25 19:56:12 +01:00
Erik
411070caab even closer to array bliss 2016-02-25 18:49:52 +01:00
Erik
f2b1f23e0c one step closer to compiling array literals 2016-02-25 18:07:46 +01:00
Erik
23cd339fce array stuff 2016-02-25 17:03:09 +01:00