Erik Svedäng
|
7eed6c8c5a
|
preparing for new ownership tests
|
2016-01-29 21:25:05 +01:00 |
|
Erik Svedäng
|
62634ef321
|
started working on an ownership analyzing function
|
2016-01-29 17:40:46 +01:00 |
|
Erik Svedäng
|
e07b335640
|
cleaned up among the tests a bit
|
2016-01-29 17:21:35 +01:00 |
|
Erik Svedäng
|
0cb4cb082d
|
much more general handling of symbol lookups
|
2016-01-29 17:11:45 +01:00 |
|
Erik Svedäng
|
c13281b407
|
can handle let bindings too now
|
2016-01-29 16:44:05 +01:00 |
|
Erik Svedäng
|
be458f20af
|
started factoring out a function that handles func_deps
|
2016-01-29 16:27:06 +01:00 |
|
Erik
|
10676c3f6e
|
removed check for repeated use of given-away variable (for now)
|
2016-01-27 15:15:30 +01:00 |
|
Erik
|
0f978ae821
|
code regarding globally-defined leads to bug with multiple borrows (it's
not detected)
|
2016-01-25 23:04:47 +01:00 |
|
Erik Svedäng
|
9d825fc06a
|
more explanation
|
2016-01-25 22:50:13 +01:00 |
|
Erik Svedäng
|
e2c83dcbc1
|
explain how to load code
|
2016-01-25 22:48:02 +01:00 |
|
Erik Svedäng
|
f7316e29f0
|
no glew needed
|
2016-01-25 22:45:16 +01:00 |
|
Erik Svedäng
|
dd1ec2ce30
|
fixed a bunch of problems with function pointers
|
2016-01-25 16:55:56 +01:00 |
|
Erik Svedäng
|
fd8c94b3bb
|
better timing macro
|
2016-01-25 14:19:09 +01:00 |
|
Erik Svedäng
|
5eb19fa9d4
|
nested for macros work at least
|
2016-01-25 14:11:43 +01:00 |
|
Erik Svedäng
|
db5624b4c1
|
Merge branch 'master' of https://github.com/eriksvedang/Carp
|
2016-01-24 00:39:30 +01:00 |
|
Erik Svedäng
|
d8b690e6ba
|
research link
|
2016-01-24 00:39:15 +01:00 |
|
Erik
|
8bded15c6f
|
for macro
|
2016-01-22 16:56:14 +01:00 |
|
Erik
|
e2cd8f7f4d
|
popping value stack when catching an error
|
2016-01-22 16:12:26 +01:00 |
|
Erik
|
0def24b8f9
|
all tests run again
|
2016-01-22 15:59:55 +01:00 |
|
Erik
|
5c3ccb3360
|
fixed macro expansion
|
2016-01-22 15:25:37 +01:00 |
|
Erik Svedäng
|
8da7d6810c
|
moved tests into compiler test file
|
2016-01-22 14:07:06 +01:00 |
|
Erik Svedäng
|
893fe4fc5e
|
some more examples
|
2016-01-22 14:05:34 +01:00 |
|
Erik Svedäng
|
959b374537
|
result from if-s are freed too
|
2016-01-22 13:58:00 +01:00 |
|
Erik Svedäng
|
e81e4a76ae
|
all tests run but just found a tricky if situation that's not solved
|
2016-01-22 13:53:57 +01:00 |
|
Erik
|
7712fa5c64
|
added evaluation of args to macro (important!)
|
2016-01-21 23:11:23 +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
|
94d0b868fa
|
moved around tests
|
2016-01-21 20:49:47 +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
|
fcf40cf153
|
new example
|
2016-01-21 20:01:36 +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 |
|
Erik Svedäng
|
248c7caa9d
|
removed if-expr intermediate variable
|
2016-01-21 17:06:04 +01:00 |
|
Erik Svedäng
|
88b8f6830e
|
new output
|
2016-01-21 16:53:33 +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
|
22299444fc
|
let bindings can refer to other bindings defined at the same time
|
2016-01-21 16:18:13 +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
|
7e1bfdc6bf
|
moved registering of built in functions
|
2016-01-21 09:55:15 +01:00 |
|
Erik Svedäng
|
449611b1bd
|
one more example
|
2016-01-20 16:34:07 +01:00 |
|
Erik Svedäng
|
b71c0f2ef0
|
shorter example
|
2016-01-20 16:24:36 +01:00 |
|
Erik Svedäng
|
897aa5ab9b
|
got rid of some intermediate variables but the arg ones are hard to remove...
|
2016-01-20 16:09:50 +01:00 |
|
Erik Svedäng
|
4ec0409d85
|
string-array-last implemented in Carp and it works!
|
2016-01-20 15:40:34 +01:00 |
|
Erik Svedäng
|
c34f675b70
|
reactivated sf3 test
|
2016-01-20 15:23:38 +01:00 |
|
Erik Svedäng
|
af71f094a5
|
do form handles eaten too
|
2016-01-20 15:22:42 +01:00 |
|
Erik Svedäng
|
07fc62ab1d
|
all tests run but the sf3 function frees its result incorrectly
|
2016-01-20 15:17:31 +01:00 |
|
Erik Svedäng
|
ccece31e98
|
finally solved problems with nested let statements
|
2016-01-20 14:56:31 +01:00 |
|
Erik Svedäng
|
6bb5758170
|
nicer indentation
|
2016-01-20 13:17:22 +01:00 |
|
Erik Svedäng
|
6ace846fb9
|
tests run, string array example looks good
|
2016-01-20 13:14:44 +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 |
|