Commit Graph

72 Commits

Author SHA1 Message Date
hellerve
ab5cbb3a49 core: reformat core.h 2020-01-22 12:18:03 +01:00
Erik Svedäng
2926abd1c8 Got rid of all but one compiler complaints on Windows. 2019-12-18 11:33:42 +01:00
nateupstairs
539804d9b0 [win] attempt to fix windows compilation 2019-11-20 13:26:59 -08:00
hellerve
65946224f0 core: add .clang-format (references #499) 2019-10-30 08:47:36 +01:00
Jorge Acereda
4a4107fffd Preserve includes order in generated output. 2019-10-03 00:23:27 +02:00
Jorge Acereda
e10f4228c0 CHK_INDEX macro 2019-06-21 00:00:46 +02:00
Jorge Acereda
bbf8c23281 Use standard NDEBUG instead of OPTIMIZE. 2019-06-13 14:29:47 +02:00
hellerve
1e21f2b5f6 core: remove unused else in ifdef 2019-04-17 13:52:08 +02:00
hellerve
fb9bbe1d9b core: remove some headers that are problematic for embedded applications 2019-04-17 13:47:18 +02:00
Randy Valis
b1c78ef216 Modifications to compile on Windows 2019-03-03 17:23:13 -05:00
hellerve
40881a1405 core: remove stdbool dependency 2018-11-17 15:42:36 +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
f78b4b8ca2 Remove temp function. 2018-08-27 11:50:37 +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
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
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
hellerve
a55eeb98a5 core: rename string and pattern types 2018-03-18 14:53:03 +01:00
Erik Svedäng
e4978d5a96 Optimization works. 2018-03-07 12:03:59 +01:00
hellerve
ae8b7644aa all: patterns need to be their own typedef 2018-03-04 19:39:00 +01:00
hellerve
01f366f2c8 core: remove interdependencies between modules 2018-02-27 15:10:42 +01:00
hellerve
1ec7ee184d core: split up core 2018-02-27 15:09:13 +01:00
hellerve
f56b1ff93f core: split up core.h, installment 1 2018-02-27 15:08:36 +01:00
Erik Svedäng
9c7793d6d1 Undefine things until cl.exe can compile a Hello World program. 2018-02-12 14:34:17 +01:00
Erik Svedäng
36274a29d3 Made System.exit return 'a' instead of (). 2018-02-08 22:13:27 +01:00
Erik Svedäng
aea08f5dfd Switch amount of bytes allocated. 2018-02-06 19:43:12 +01:00
Erik Svedäng
e80af19a39 Added prn for Strings, make 'str' not print with @ and quotes. 2018-02-06 18:37:15 +01:00
hellerve
8cb5f5311b core & templates: fixed size of stringification buffers 2018-01-22 12:47:38 +01:00
hellerve
41ac52af99 core: fixed behavior of from-chars and ends-with? 2018-01-03 12:50:47 +01:00
Erik Svedäng
6d5bd6a74d More uniform solution for memory logging. 2018-01-02 06:54:05 +01:00
Erik Svedäng
7296b83264 memory-logged macro 2018-01-02 06:46:01 +01:00
hellerve
7c9eaeac9f core: made format not leak memory; test: added test for format and fmt 2017-12-30 20:16:31 +01:00
hellerve
6a5e73e088 core: correct allocation in format 2017-12-30 18:39:16 +01:00
hellerve
ff34744dc4 core: format works! 2017-12-30 15:13:58 +01:00
hellerve
eccddd00fe format: added simple versions of format (work on issue #108) 2017-12-30 15:13:56 +01:00
hellerve
6897606f39 core: added random & random-between to char, random to string 2017-12-28 18:10:38 +01:00
hellerve
b561713add core: added random to vector and double; added random and random-between interfaces 2017-12-28 18:02:50 +01:00
Erik Svedäng
a75bc7719a Tweaked borrow semantics around 'set!' to allow for more efficient use
in loops, etc.
2017-12-25 18:02:03 +01:00
Erik Svedäng
b8c1da3e3b Sleeping functions. 2017-12-25 16:51:23 +01:00
Erik Svedäng
62da15ea5e
Merge pull request #149 from hellerve/float-to-int
Add Float.from-int
2017-12-23 17:54:27 +01:00
hellerve
3f245820a8 core: added Float.to-int 2017-12-23 16:37:27 +01:00
Erik Svedäng
57bb9a7469 Extracted out Debug module. 2017-12-23 14:10:44 +01:00
Erik Svedäng
9a3ece2745 Some memory tests. 2017-12-23 09:24:16 +01:00
Erik Svedäng
bce28c65cd This might work. 2017-12-23 08:58:57 +01:00
Erik Svedäng
61208b599f Setting up proper test suit for finding memory errors. 2017-12-23 08:33:13 +01:00
hellerve
9ebd2c7997 core: moved from C for String./= to Carp 2017-12-19 18:01:06 +01:00
hellerve
d04cd6dfb1 core: added = and /= for regular strings, not just refs, fixed String./= 2017-12-19 17:53:27 +01:00
Thomas Dendale
df34ad84c7 Fixed segfault in read-line when file doesn't exist. 2017-12-19 12:52:55 +01:00