Commit Graph

2113 Commits

Author SHA1 Message Date
Erik Svedäng
d7e81dabfd Time to solve another bug (setting global variables). 2018-02-05 18:18:30 +01:00
Erik Svedäng
18088aa7e0 Todo. 2018-02-05 17:59:33 +01:00
Erik Svedäng
058b474f1e IMPORTANT BUG FIX: Values created (but not returned) in conditional branches are properly deleted. 2018-02-05 17:25:03 +01:00
Erik Svedäng
df7ae81007 Merge branch 'master' of https://github.com/carp-lang/Carp 2018-02-05 16:54:49 +01:00
Erik Svedäng
779167dbf8 Better info for while-loops. 2018-02-05 15:49:02 +01:00
Erik Svedäng
ba14ebe5cd Figuring out how to report better locations for errors in macros. 2018-02-05 15:45:41 +01:00
Erik Svedäng
cf02fc5d1d Special trace function for memory management in if-statement. 2018-02-05 11:27:03 +01:00
Erik Svedäng
d5d3e4b298 Build ant.carp and reptile.carp as part of run_carp_tests.sh script. 2018-02-05 11:14:20 +01:00
Erik Svedäng
18abcab4ba Fixed ant.carp example. 2018-02-05 11:14:13 +01:00
Erik Svedäng
e4335abf35
Merge pull request #185 from hellerve/fix-reptile
Fix reptile for new accessor functions
2018-02-05 11:11:17 +01:00
Erik Svedäng
b51c642436 Disable test 4 for now. 2018-02-05 11:09:36 +01:00
Erik Svedäng
1c1904535e Another example. 2018-02-05 11:08:19 +01:00
Erik Svedäng
8f256c5aef Bugfixing. 2018-02-05 10:49:35 +01:00
hellerve
e8dd3f3e0f examples: fix reptile for new accessor functions 2018-02-05 10:22:15 +01:00
Erik Svedäng
db90c9c771 Todo done, todo added. 2018-02-05 08:19:45 +01:00
Erik Svedäng
c0c2a428b7 Todo. 2018-02-05 08:18:17 +01:00
Erik Svedäng
4cad6021f6 Some more memory tests. 2018-02-05 08:17:09 +01:00
Erik Svedäng
cfdf08e7a0 Time to debug memory error in branch. 2018-02-05 08:03:36 +01:00
Erik Svedäng
eb05140314 Merge branch 'overhaul-set-bang' 2018-02-05 07:57:55 +01:00
Erik Svedäng
28093a967a Disabled setting derefed (i.e. "(set! @r 100)"). 2018-02-05 07:49:43 +01:00
Erik Svedäng
a4c8775315 Note about supported platforms. 2018-02-04 21:39:00 +01:00
Erik Svedäng
343481812e Merge branch 'master' of https://github.com/carp-lang/Carp 2018-02-04 10:23:36 +01:00
Erik Svedäng
e2eafc48c4 Todo:s regarding reference origin tracking. 2018-02-04 09:05:31 +01:00
Erik Svedäng
9d2e5215f0 Bug with references, reported by rpjohnst via gitter. 2018-02-04 08:55:44 +01:00
Erik Svedäng
33c6983436 Proper error when trying to set something that can't be set. 2018-02-03 08:01:49 +01:00
Erik Svedäng
c90357ac6d Setting variables by reference, using @ works now. 2018-02-03 07:50:34 +01:00
Erik Svedäng
06248af2f8 Better printing of info from XObj. 2018-02-03 07:40:51 +01:00
Erik Svedäng
545a367933 Run 'setting-4'. 2018-02-02 12:30:27 +01:00
Erik Svedäng
b10bb35591 Two failing tests for if-statements. 2018-02-02 12:07:13 +01:00
Erik Svedäng
7679b53a98 Trying to make setting a dereferenced ref work. 2018-02-02 07:46:07 +01:00
Erik Svedäng
26887f3716 Changed type signature of (set! ...) form. 2018-02-02 07:19:10 +01:00
Erik Svedäng
ccf1afaf84 This todo seems done. 2018-02-01 20:15:58 +01:00
Erik Svedäng
fb58375b56 Todo. 2018-02-01 19:59:35 +01:00
Erik Svedäng
667549c1c5 Merge branch 'master' of https://github.com/carp-lang/Carp 2018-02-01 18:58:25 +01:00
Erik Svedäng
041784a032 Better infrastructure for reporting errors from 'concretizeType'. 2018-02-01 18:57:12 +01:00
Erik Svedäng
500c2a857b Preparation for being able to fix bug with validation of generic members. 2018-02-01 18:32:59 +01:00
Erik Svedäng
fdf4bea844
Merge pull request #184 from hellerve/fix-bench-2
Fix Bench
2018-02-01 18:16:35 +01:00
Erik Svedäng
9e6eb88194 Added more cases to tyToXObj. 2018-02-01 18:02:40 +01:00
hellerve
27a4a3edff core: fix bench and ignore form, because they were buggy 2018-02-01 18:01:45 +01:00
Erik Svedäng
8d12c10f20 Moved a lot of code out of Obj.hs and into two new modules: Qualify.hs
and Lookup.hs
2018-02-01 17:52:50 +01:00
Erik Svedäng
07aec68e25 Extracted scoring of binders to its own module. 2018-02-01 17:41:29 +01:00
Erik Svedäng
2fa061cf15 Delete ManageMemory.hs 2018-02-01 17:38:01 +01:00
Erik Svedäng
4c14cea5b0
Merge pull request #183 from hellerve/fix-bench
Fix bench for new member accesses
2018-02-01 17:30:42 +01:00
Erik Svedäng
cfde5cf17d Bug found. 2018-02-01 17:29:45 +01:00
Erik Svedäng
ad2d5fe5f7 More cleanup of instantiateGenericStructType. 2018-02-01 17:27:27 +01:00
Erik Svedäng
1c6377c06e Cleanup of functions for concretizing types in Concretize.hs 2018-02-01 17:19:22 +01:00
hellerve
7b10c28aee core: fix bench for new member accesses 2018-02-01 17:18:05 +01:00
Erik Svedäng
e3b34f3c46 Error messages for most common mistakes when defining structs, easy to
add more now.
2018-02-01 16:40:12 +01:00
Erik Svedäng
b569226919 Don't run examples by default. 2018-02-01 16:26:04 +01:00
Erik Svedäng
af02b8f49d Make all functions for creating binders in Deftype return Either,
which enables error reporting for all of those.
2018-02-01 16:18:51 +01:00