Commit Graph

59 Commits

Author SHA1 Message Date
Erik Svedäng
1d2a509e9a 'error' can be baked 2016-05-02 08:26:34 +02:00
Erik Svedäng
14edefc930 can compile part of Rövarspråket algorithm 2016-05-02 08:05:57 +02:00
Erik Svedäng
05efae290d and binop, *-macros 2016-04-27 21:09:43 +02:00
Erik Svedäng
b92cc0e407 sending Obj arrays to ffi functions is more complete 2016-04-26 11:06:22 +02:00
Erik Svedäng
068caedd23 cleaned up in shared.h 2016-03-29 13:31:39 +02:00
Erik Svedäng
e9b086edc6 colors on type errors 2016-03-23 10:08:47 +01:00
Erik Svedäng
b47987a110 glfwGetTime produces a double 2016-03-17 19:42:00 +01:00
Erik
7bd2430ef6 generation of offset functions 2016-03-09 18:25:26 +01:00
Erik
d1f2966c81 can handle * in function names 2016-03-04 11:50:03 +01:00
Markus Gustavsson
ccc3cb6270 Merge branch 'master' of github.com:eriksvedang/Carp 2016-03-02 13:44:42 +01:00
Erik Svedäng
4478cd734b assert in println 2016-03-02 00:22:42 +01:00
Erik
85df84e302 updated todo etc 2016-02-29 18:32:14 +01:00
Markus Gustavsson
d334b395a1 Merge branch 'master' of github.com:eriksvedang/Carp 2016-02-29 14:16:04 +01:00
Markus Gustavsson
82b5d1769f Some windows compilation support 2016-02-29 14:14:01 +01:00
Erik
049aebf24c The primop 'map' can handle pointers to C arrays 2016-02-29 13:47:37 +01:00
Erik
5df29ae81a Merge branch 'master' of https://github.com/eriksvedang/Carp 2016-02-26 17:14:10 +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
Markus Gustavsson
007995c7bc Merge branch 'master' of github.com:eriksvedang/Carp 2016-02-26 16:45:46 +01:00
Erik
993a6196f4 can bake 'str' for array 2016-02-26 14:04:22 +01:00
Markus Gustavsson
638087590d Fix import mess for shared and platform 2016-02-25 18:28:50 +01:00
Markus Gustavsson
746e4211ab Don't leak file handles 2016-02-25 17:23:51 +01:00
Markus Gustavsson
c03f6d9f32 Define stuff at the right time and place 2016-02-25 17:05:28 +01:00
Erik
23cd339fce array stuff 2016-02-25 17:03:09 +01:00
Markus Gustavsson
c3af14ae9b Exporting builtins and loading crt manually for carp imports. 2016-02-25 16:38:16 +01:00
Erik
c686003726 infrastructure for compiling generic primops (their code is put into "functions.h") 2016-02-25 14:38:28 +01:00
Markus Gustavsson
b63c6d7626 Fix module mess 2016-02-25 12:14:23 +01:00
Markus Gustavsson
87c5e91ed9 Don't close the main module handle 2016-02-25 11:46:52 +01:00
Erik Svedäng
b0d6966394 plan for array codegen 2016-02-24 22:58:50 +01:00
Erik Svedäng
808642397a array... 2016-02-24 22:44:36 +01:00
Erik
f1fc265379 wrapping existing structs work too 2016-02-24 18:52:47 +01:00
Markus Gustavsson
90befac640 Move platform code to header to make it available for baked code. 2016-02-22 16:38:07 +01:00
Markus Gustavsson
085e26b2d5 Cross platform fixes. Should work on osx again now. 2016-02-22 16:31:07 +01:00
Markus Gustavsson
61af88b647 Platform OSX 2016-02-22 14:39:17 +01:00
Markus Gustavsson
5f1f8565a5 More windows stuff 2016-02-21 09:12:37 +01:00
Markus Gustavsson
b82ed0b97b Compiles, but does not link on windows 2016-02-20 10:39:54 +01:00
Erik
2dc53fcaca added 'spawn' and 'spork' 2016-02-17 09:24:44 +01:00
Erik Svedäng
31785cb4e2 todos 2016-02-16 06:09:56 +01:00
Erik Svedäng
ddf8be1d20 lots of work with calling lambdas from ffi, is it worth it? 2016-02-11 23:54:24 +01:00
Erik Svedäng
b37575c618 rudimentary support for calling lambdas from ffi functions 2016-02-11 23:39:05 +01:00
Erik Svedäng
4e21b9646f repl 2016-02-11 12:10:00 +01:00
Erik Svedäng
7082d576f5 nice stacktrace 2016-02-11 11:57:25 +01:00
Erik Svedäng
1b61dfd278 changed name of the error globla variable to eval_error 2016-02-11 11:06:06 +01:00
Erik
64d287325b added 'async' function 2016-02-10 11:37:33 +01:00
Erik Svedäng
3c182a31d2 mapping over string array works now 2016-02-09 23:41:07 +01:00
Erik Svedäng
b1302e39fb new bug identified with freeing in recursive loop 2016-02-05 13:15:44 +01:00
Erik Svedäng
7eed6c8c5a preparing for new ownership tests 2016-01-29 21:25:05 +01:00
Erik Svedäng
dd1ec2ce30 fixed a bunch of problems with function pointers 2016-01-25 16:55:56 +01:00
Erik
0def24b8f9 all tests run again 2016-01-22 15:59:55 +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
3fc26dcf06 can't make output any nicer at the moment, will try more later 2016-01-21 19:59:01 +01:00