Commit Graph

452 Commits

Author SHA1 Message Date
Erik Svedäng
f985e5aa75 Merge branch 'master' of https://github.com/carp-lang/Carp 2018-10-22 21:17:33 +02:00
hellerve
59f636f051 core: Random.seed with a good default, rename old version to Random.seed-from 2018-10-19 10:31:00 +02:00
hellerve
3877f3988c core: add more file io functions 2018-10-18 17:22:35 +02:00
hellerve
3f4cad15ad core: add fread, fflush, and rewind to IO 2018-10-17 11:46:11 +02:00
Erik Svedäng
3432f42a56
Merge pull request #297 from hellerve/bool-macros
Proposal: make `and` and `or` macros
2018-09-30 20:20:14 +02:00
Erik Svedäng
fc6c349d96
Merge pull request #298 from hellerve/use-closures-in-core
Use closures in core
2018-09-30 20:17:14 +02:00
hellerve
2d4239ed6b core: rename Char.upper-case and Char.lower-case with ? 2018-09-25 16:40:02 +02:00
hellerve
620bc4c5c5 all: use closures in core 2018-09-25 16:20:59 +02:00
hellerve
0114ae806a core: add Char.upper-case and Char.lower-case 2018-09-25 16:14:38 +02:00
hellerve
023dfa1ae3 all: make and and or macros 2018-09-23 09:34:38 +02:00
hellerve
cfee23c429 core: fix stray usage of outdated debug functionality 2018-09-19 17:53:09 +02:00
hellerve
76d86f13e1 eval: refactor file, line, and column; Debug: better trace 2018-09-19 17:46:16 +02:00
Craig Roy
92501770e6 Print results as part of test macro 2018-09-13 00:13:03 +01:00
Erik Svedäng
2d38eeba2c Delete and copy functions are set and called. 2018-08-29 15:10:41 +02:00
Erik Svedäng
72c2330bab Added 'copy'-callback on Lambda struct. 2018-08-29 12:13:56 +02:00
Erik Svedäng
78b192bb36 BIG CHANGE: Functions are managed now. 2018-08-29 11:32:33 +02:00
Erik Svedäng
f78b4b8ca2 Remove temp function. 2018-08-27 11:50:37 +02:00
Erik Svedäng
b6412dc4d7 Merge branch 'master' into lambdas 2018-08-27 10:14:02 +02:00
Erik Svedäng
35deff6f0a Fix return type of Float_neg. 2018-08-27 10:10:31 +02:00
hellerve
1c6884b93b core: fix docs for map and set 2018-08-25 19:51:27 +02:00
hellerve
91075cc613 core: remove pair from bucket for sets (less memory overhead) 2018-08-25 14:18:37 +02:00
hellerve
e27ee09f78 core: remove entry type from map, use Pair 2018-08-25 13:56:58 +02:00
Erik Svedäng
65ade0848f Calling works. 2018-08-24 15:20:05 +02:00
Erik Svedäng
278cfdb725 Merge branch 'master' into lambdas 2018-08-24 08:08:38 +02:00
hellerve
1933aac582 core: refactor color table to actual map 2018-08-07 10:17:51 +02:00
hellerve
ede08bcc72 core: refactor colorization 2018-08-07 09:58:14 +02:00
hellerve
57c758e00b array: reduce genericity of Array./=; Char: use unsigned when casting to int 2018-08-07 09:39:47 +02:00
hellerve
012f048f7f core: change from str to prn in map stringification 2018-08-07 09:32:35 +02:00
hellerve
d95c28ad5d core: fixed set and tests 2018-08-07 09:32:32 +02:00
hellerve
52b2eef832 core: miscellaneous fixes 2018-08-07 09:30:37 +02:00
Chris Hall
10f7d29626 adding Array./= 2018-06-26 18:15:21 +10:00
Chris Hall
8d20bb90df Removing Sort as a module name 2018-06-26 18:03:34 +10:00
Chris Hall
61274c1dc9 adding sort functions into Array module 2018-06-26 17:33:09 +10:00
Chris Hall
21a316c70f adding StringCopy.< and StringCopy.> 2018-06-26 17:20:39 +10:00
Chris Hall
16bdd7f854 Adding comparison operators to Char and CharRef 2018-06-26 17:08:58 +10:00
Chris Hall
4704a06f32 Adding String.< and String.> 2018-06-26 16:00:33 +10:00
Chris Hall
85c625b62d Removing Array.sort and Array.sort-with 2018-06-26 15:48:15 +10:00
Chris Hall
a09db503d7 Improving Sort API, sort, sorted, and sort! 2018-06-26 15:42:11 +10:00
Chris Hall
88cf103b3a removing "use" from Sort 2018-06-26 15:11:51 +10:00
Chris Hall
1543fac3fb Issue #252 adding Sort module in Carp using Heap.Heapsort 2018-06-26 15:08:34 +10:00
Chris Hall
24e8cee18f Adding Heap module including HeapSort implementation and test suite 2018-06-26 15:08:34 +10:00
Erik Svedäng
5c7cc37579
Merge pull request #254 from mkfifo/linux-headers-build
Adding missing includes headers for POSIX wait and signals
2018-06-25 18:33:30 +02:00
Chris Hall
f0b01450a8 Adding missing includes headers for POSIX wait (sys/wait.h) and signals (signal.h) 2018-06-23 13:48:38 +10:00
Chris Hall
ffd2a178bf fixing doc strings in Array 2018-06-23 13:28:24 +10:00
Erik Svedäng
2275c1bd02 Core compiles again. 2018-06-19 09:19:54 +02:00
Erik Svedäng
1749584a89 Things are not working but at least some progress. 2018-06-18 17:22:20 +02:00
Erik Svedäng
e00bdd1df0
Merge pull request #251 from hellerve/docs
Document string, remove string-join
2018-06-15 17:36:37 +02:00
hellerve
c82916612a core: document string, remove string-join 2018-06-15 16:38:34 +02:00
Erik Svedäng
ae60440542 Can implement Keycode.= using enum-to-int now instead! 2018-06-15 16:01:43 +02:00
Erik Svedäng
cc2bb27544 Merge branch 'int-to-enum-hack' 2018-06-15 15:58:08 +02:00