Commit Graph

320 Commits

Author SHA1 Message Date
Erik Svedäng
d4f1910bce Added Bool module. Fixed error in test selection.carp 2017-10-11 10:52:18 +02:00
Erik Svedäng
8573098dca str-function generated for structs 2017-10-10 20:13:58 +02:00
Erik Svedäng
2f4b187d5b Let-expressions can't return references. 2017-10-10 15:38:43 +02:00
Erik Svedäng
a6b0ef0b1a Don't discard results in ManageMemory when checking function application. 2017-10-10 15:22:30 +02:00
Erik Svedäng
52d6d4196e Bug. 2017-10-10 13:50:47 +02:00
Erik Svedäng
b180dbbb2b A todo-file. 2017-10-10 13:20:59 +02:00
Erik Svedäng
65d17b732c Tweaks to the memory logger. Also, replicate now takes a reference. 2017-09-29 14:54:49 +02:00
Erik Svedäng
b17780aa79 Fixed bugs in replicate and with nameofpolymorphicfunction. 2017-09-29 14:07:42 +02:00
Erik Svedäng
8cae7a7a3b A way to run all tests in one go. 2017-09-08 12:24:57 +02:00
Erik Svedäng
a6051220fe The function setFullyQualifiedSymbols visits arrays also. 2017-09-07 21:05:37 +02:00
Erik Svedäng
3308652c75 Use the type (Ptr Char) to express raw C strings. 2017-09-07 19:44:02 +02:00
Erik Svedäng
9781c5f7cb Fixed all examples after changing string literals to refs. 2017-09-07 18:55:43 +02:00
Erik Svedäng
515bc03664 Changed string literals to be Ref:s. Fixed basics.carp, more to go... 2017-09-06 15:03:37 +02:00
Erik Svedäng
e37a3e679b s/import/use in carp files. 2017-09-06 10:05:19 +02:00
Erik Svedäng
d4bd748518 Can emit score of each binding, will help catch this bug! 2017-09-05 15:38:33 +02:00
Erik Svedäng
2cf6b0cd7f Even less duplication. 2017-09-05 14:11:18 +02:00
Erik Svedäng
2ec9b947fc Remove some more code duplication. 2017-09-05 13:49:53 +02:00
Erik Svedäng
a29d0852ae Allow arrays as members again. 2017-09-05 11:43:33 +02:00
Erik Svedäng
9f6418022f Better error messages for weird types in typedef. 2017-09-05 11:32:32 +02:00
Erik Svedäng
ecfe36a7c0 Don't visit type object in concretizing of "the"-expression. 2017-09-04 16:03:15 +02:00
Erik Svedäng
c6e7ba890e Final ref gone. 2017-09-04 11:42:48 +02:00
Erik Svedäng
ab19c2323f More &. 2017-09-04 11:42:09 +02:00
Erik Svedäng
f463fa4e44 Use & instead of ref. 2017-09-04 11:40:55 +02:00
Erik Svedäng
27d0baefba Got rid of special "insideArrayDeps" functions that were just duplication. 2017-09-01 16:57:09 +02:00
Erik Svedäng
e3b2832495 Comments in deftype. 2017-08-31 16:37:12 +02:00
Erik Svedäng
57a504275e Temp 2017-08-15 07:42:09 +02:00
Erik Svedäng
3298fe3d32 set! takes a reference instead of just a variable 2017-07-13 13:08:45 +02:00
Erik Svedäng
6315ac963f Can set prompt with (project-set! prompt "> ") 2017-07-12 15:42:26 +02:00
Erik Svedäng
00cd8df5cf replicate & repeat generates deleter functions 2017-07-12 10:22:16 +02:00
Erik Svedäng
571f46bd9d Give up on making range a template, was probably a bad idea... 2017-07-12 09:55:30 +02:00
Erik Svedäng
1ede414759 Fixed warnings. 2017-07-11 08:13:39 +02:00
Erik Svedäng
5ae8f36ee4 Fixing errors with references... 2017-07-06 13:29:13 +02:00
Erik Svedäng
df1093e818 Trying to solve descrepancy in error messages. 2017-07-06 12:36:27 +02:00
Erik Svedäng
b402d6cce1 Can sort constraints (not doing it yet though) 2017-07-04 15:11:08 +02:00
Erik Svedäng
caaa4d99c3 Basics example work again. 2017-06-30 14:21:31 +02:00
Erik Svedäng
94170395e4 Fixed memory leak in copying "map" function. 2017-06-30 14:18:37 +02:00
Erik Svedäng
d72b729233 Memory example. 2017-06-30 11:40:19 +02:00
Erik Svedäng
25f9892e94 Reduce! 2017-06-30 11:37:03 +02:00
Erik Svedäng
414c772f9a Fixed memory bug in Array_str__int 2017-06-30 11:00:36 +02:00
Erik Svedäng
5d0c549d49 Filter-function. 2017-06-30 10:36:37 +02:00
Erik Svedäng
834d52a467 Cleanup. 2017-06-30 09:53:58 +02:00
Erik Svedäng
89c997861a Can detect if trying to take the reference of a given-away value. 2017-06-30 09:37:23 +02:00
Erik Svedäng
fbbe4d9c84 Refstr. 2017-06-30 08:33:53 +02:00
Erik Svedäng
1c6846729d refstr-macro 2017-06-29 17:05:34 +02:00
Erik Svedäng
29ab0c8513 Endofunctor map. 2017-06-29 16:58:27 +02:00
Erik Svedäng
f6727f36ec Endofunctor map and ability to defalias. 2017-06-29 16:25:25 +02:00
Erik Svedäng
2c672dd583 Half-done converting reptile.carp to latest version of Carp. 2017-06-27 14:57:16 +02:00
Erik Svedäng
26e730b1ca Dependency order for Array is defined, solves bugs with arrays as members. 2017-06-27 14:42:57 +02:00
Erik Svedäng
caf1350c4d Fix use of UnitTy in memberCopy 2017-06-26 17:34:00 +02:00
Erik Svedäng
132aaa462f Language guide. 2017-06-26 11:45:18 +02:00