Commit Graph

63 Commits

Author SHA1 Message Date
Erik Svedäng
a9fd73ab2a Load 'Debug.carp' by default. 2018-03-13 09:43:08 +01:00
Erik Svedäng
745a47cd70 Critical bug found ("stack-use-after-scope"). 2018-03-07 15:13:42 +01:00
Erik Svedäng
cf3c807148 Lots more machine readable error messages. 2018-02-26 16:21:14 +01:00
Erik Svedäng
2d7c54300b Bug found. 2018-02-26 16:01:52 +01:00
Erik Svedäng
a985c2f59e Prevent setting of an not owned local variable. 2018-02-08 19:05:49 +01:00
Erik Svedäng
0610c8e209 BUGFIX: Memory allocated in the condition of a while-loop is managed
first run through the loop.
2018-02-08 18:34:53 +01:00
Erik Svedäng
8abd45d249 Actually call Project.config with bool, not string. 2018-02-08 17:45:53 +01:00
Erik Svedäng
71cdd1eb61 Remove more uses of project-set! 2018-02-08 17:43:06 +01:00
Erik Svedäng
d23a211985 BUG FIX: Must handle deletion of temporary values used during initialization of global variables. 2018-02-06 08:21:50 +01:00
Erik Svedäng
e8ac5c86c6 BUG FIX: Setting global variables doesn't leak. 2018-02-05 19:01:00 +01:00
Erik Svedäng
d7e81dabfd Time to solve another bug (setting global variables). 2018-02-05 18:18:30 +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
1c1904535e Another example. 2018-02-05 11:08:19 +01:00
Erik Svedäng
8f256c5aef Bugfixing. 2018-02-05 10:49:35 +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
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
b10bb35591 Two failing tests for if-statements. 2018-02-02 12:07:13 +01:00
Erik Svedäng
26887f3716 Changed type signature of (set! ...) form. 2018-02-02 07:19:10 +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
cfde5cf17d Bug found. 2018-02-01 17:29:45 +01:00
Erik Svedäng
41327277ae Arrays containing generic types will generate the correct dependencies too. 2018-02-01 12:58:06 +01:00
Erik Svedäng
1d4c0777a0 This is hard... 2018-01-30 15:22:07 +01:00
Erik Svedäng
bc428034c2 Fixed bug with multiple multi-lookups (to the same function) in the same function definition. 2018-01-29 15:32:38 +01:00
Erik Svedäng
7660b32db3 Fixed: When composing interfaces the concretizer needs to run more times to make sure that all types are figured out. 2018-01-29 06:48:30 +01:00
Erik Svedäng
0f99128f9c Moved simplified dictionary code to generic struct examples. 2018-01-28 22:54:59 +01:00
Erik Svedäng
4da90d6d86 Simplified hashmap example works. 2018-01-28 22:48:17 +01:00
Erik Svedäng
4482154d4a Updated help chapters in the repl. 2018-01-28 06:35:08 +01:00
Erik Svedäng
e55e63f4fe Moved around test code. 2018-01-28 06:17:23 +01:00
Erik Svedäng
33aeab7c82 FIXED: Fails to find the correct Array.str when calling println* in a do-form. 2018-01-28 05:56:03 +01:00
Erik Svedäng
9f771b4202 Bug found. 2018-01-11 08:16:45 +01:00
Erik Svedäng
ef1dd0a45e Fixed memory bug in String.repeat that was discovered when running with -fsanitize=address 2017-12-23 14:30:45 +01:00
Erik Svedäng
c679d079ad Critical bug found for 'set!' form. 2017-12-23 14:21:08 +01:00
Erik Svedäng
0b86cdd15d If-expressions wrap their branches in do-expressions to not mix up deleters. 2017-12-21 15:36:11 +01:00
Erik Svedäng
7dce7725d4 Trying to find a good solution for the if/let deleter bug. 2017-12-21 15:26:22 +01:00
Erik Svedäng
d58265fb09 Minimal reproducible example for memory bugs. 2017-12-21 12:45:26 +01:00
Erik Svedäng
f0efc81ce4 Moved project-set! to Command.hs module. 2017-12-21 12:25:04 +01:00
Erik Svedäng
e2e0617d25 Todo and bug stuff. 2017-12-15 15:31:56 +01:00
Erik Svedäng
46de83b4b1 Two new interfaces: '<' and '>'. Also found a bug. 2017-12-13 22:29:43 +01:00
Erik Svedäng
e1cac02800 Fixed: Importing Int and Array into String module (when defining functions there) break things. 2017-12-12 22:17:17 +01:00
Erik Svedäng
d72f13aaac IMPORTANT FIX: Limited the 'use' command to only lookup in current module. 2017-12-12 22:12:50 +01:00
Erik Svedäng
6938b65f01 Investigating bugs with symbol lookup in modules. 2017-12-12 12:57:13 +01:00
Erik Svedäng
945eaefccb Playing around with interfaces and the sum function. 2017-11-28 10:24:14 +01:00
Erik Svedäng
bcac17ceed Fixed some bugs with lookup of interface functions. 2017-11-24 14:15:16 +01:00
Erik Svedäng
86aad56a7f Updated the presentation with new features. Found bug to solve... 2017-11-24 10:01:57 +01:00
Erik Svedäng
b11e31c77f CRITICAL BUG FIX: Compiling a self recursing function (of type (λ [] ()) at least) hangs the compiler. 2017-11-21 11:47:59 +01:00
Erik Svedäng
3269e15c5c Trying to solve bug... 2017-11-21 10:35:34 +01:00