hellerve
|
6954766aa7
|
testing: with-test macro should return non-null on failure
|
2017-11-22 13:48:58 +01:00 |
|
Erik Svedäng
|
50c9c90d21
|
Interfaces!
|
2017-11-21 16:56:39 +01:00 |
|
Erik Svedäng
|
e172a736ea
|
New compiler flag: '--no-core' for running the compiler without the core libraries.
|
2017-11-21 12:21:36 +01:00 |
|
hellerve
|
b3d19ae9da
|
int/long: added math functions
|
2017-11-17 12:26:01 +01:00 |
|
hellerve
|
40c19b138e
|
int/long: added safe arithmetic
|
2017-11-16 21:19:39 +01:00 |
|
hellerve
|
64a82c2730
|
float: added all math function in math.h
|
2017-11-16 09:46:06 +01:00 |
|
hellerve
|
d346673a74
|
double: added all math function in math.h
|
2017-11-15 14:06:49 +01:00 |
|
Erik Svedäng
|
e7d77353ab
|
Remove bleh function.
|
2017-11-14 22:48:10 +01:00 |
|
Erik Svedäng
|
39c405bfb6
|
Remove duplicated function '/=' in Long.carp
|
2017-11-14 22:30:21 +01:00 |
|
Erik Svedäng
|
b8638f3920
|
Merge pull request #90 from hellerve/not=
Add /= wherever = is defined
|
2017-11-14 21:44:22 +01:00 |
|
hellerve
|
99573e335f
|
core: bugfix in String.from-chars; added Char.to-int and Char.from-int
|
2017-11-14 18:33:03 +01:00 |
|
hellerve
|
0990ed60cd
|
core: add /= wherever = is defined
|
2017-11-14 18:09:18 +01:00 |
|
hellerve
|
e3a0da969a
|
statistics: updated tests
|
2017-11-07 15:06:47 +01:00 |
|
hellerve
|
e326be04fa
|
bench: removed stale function
|
2017-11-06 20:57:41 +01:00 |
|
hellerve
|
395ff17574
|
bench: refactored bench function to make slightly less sucky
|
2017-11-06 20:47:21 +01:00 |
|
hellerve
|
dfe57da99d
|
bench: added clarification
|
2017-11-06 20:32:59 +01:00 |
|
hellerve
|
f794d7685f
|
bench: added nanosecond accuracy
|
2017-11-06 20:23:33 +01:00 |
|
hellerve
|
5c6556e406
|
bench: first version
|
2017-11-06 18:08:07 +01:00 |
|
hellerve
|
041645b298
|
bench: fixed parens
|
2017-11-06 13:16:20 +01:00 |
|
hellerve
|
046956d711
|
bench: renamed bench macro to bench-n and started working on real bench fn
|
2017-11-06 11:37:24 +01:00 |
|
hellerve
|
a8d0eef5ba
|
core: added bench module
|
2017-11-06 11:20:59 +01:00 |
|
Erik Svedäng
|
99bd6f3d65
|
Merge pull request #86 from hellerve/rename-geometry
Geometry: Rename module file
|
2017-11-01 14:45:56 +01:00 |
|
hellerve
|
e839b4e608
|
geometry: rename module file
|
2017-11-01 11:26:35 +01:00 |
|
hellerve
|
a035cdeecd
|
statistics: transform nested if into cond
|
2017-11-01 11:20:06 +01:00 |
|
hellerve
|
3239c77aeb
|
core: added statistics library
|
2017-10-26 17:41:54 +02:00 |
|
Erik Svedäng
|
d2f540e8c8
|
Merge pull request #81 from hellerve/long-type
Add Long type
|
2017-10-25 20:34:06 +02:00 |
|
hellerve
|
3a03969717
|
all: added long type
|
2017-10-25 19:17:53 +02:00 |
|
hellerve
|
7151742518
|
vector: fixed test cases, also Array.copy for primitive types
|
2017-10-25 13:45:46 +02:00 |
|
hellerve
|
a0078c779a
|
vectors: added lerp
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
f8550e07a1
|
vectors: added n-dimensional vectors
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
01adc4c50d
|
prelude: made and and or functions
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
120116a70a
|
vector2: integrated test suite
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
81c2af23f1
|
vectors: most things work
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
6dc31855d8
|
vectors: added a few math primitives and made most functions work
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
6de836d545
|
vectors: added a few more functions; still no lerp
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
c2cb743311
|
interim
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
5baa8dd97f
|
vectors: syntax errors, whoops
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
6d2b8ba37a
|
vectors: added basic, non-performant vector sketch
|
2017-10-25 13:07:52 +02:00 |
|
hellerve
|
8069aa31ff
|
prelude: fixed comparison functions for ints
|
2017-10-24 10:31:35 +02:00 |
|
hellerve
|
631e2ab95f
|
testing: added Test module
|
2017-10-23 16:07:54 +02:00 |
|
Erik Svedäng
|
fbf8477672
|
Int__EQ_ should return bool.
|
2017-10-20 16:57:54 +02:00 |
|
Erik Svedäng
|
510d0f3f1a
|
More todos.
|
2017-10-19 18:34:44 +02:00 |
|
Erik Svedäng
|
df06ca0d6b
|
Remove reduce from built in functions.
|
2017-10-19 18:22:52 +02:00 |
|
Erik Svedäng
|
d6189f1559
|
Moved sum to Int module for now. Not sure if that's a good idea...
|
2017-10-19 18:22:02 +02:00 |
|
Erik Svedäng
|
8267208bf8
|
Threading macros work.
|
2017-10-18 22:44:15 +02:00 |
|
Erik Svedäng
|
2dbcfac61b
|
Bunch of bug fixes and stuff.
|
2017-10-18 13:02:44 +02:00 |
|
Erik Svedäng
|
31b3472f87
|
The unique identifiers for XObj:s are set after the macro expansion which fixes bugs with macros.
|
2017-10-18 12:25:42 +02:00 |
|
Erik Svedäng
|
a76e6f1b48
|
Revert "Preparations for bumping the XObj Info identifier for expanded forms."
This reverts commit 3d843f33d9 .
|
2017-10-18 11:12:49 +02:00 |
|
Erik Svedäng
|
3d843f33d9
|
Preparations for bumping the XObj Info identifier for expanded forms.
|
2017-10-18 09:49:58 +02:00 |
|
Erik Svedäng
|
9997dd7f90
|
Printing of floats/doubles removes superfluos zeros at the end.
|
2017-10-18 08:43:37 +02:00 |
|
Erik Svedäng
|
b1f86624fb
|
Allow &t instead of (Ref t) in type declarations.
|
2017-10-17 16:05:42 +02:00 |
|
Erik Svedäng
|
42874e6d57
|
Allow lambda ("λ") as an alias for Fn when defining types
|
2017-10-17 09:42:57 +02:00 |
|
Erik Svedäng
|
dc83ef1f36
|
Bugs with foreach macro... :(
|
2017-10-17 09:25:30 +02:00 |
|
Erik Svedäng
|
2237b955aa
|
Quote reader macro.
|
2017-10-17 09:02:12 +02:00 |
|
Erik Svedäng
|
a0f35a5543
|
Rewrote 'reduce' with carp instead of C.
|
2017-10-17 08:57:36 +02:00 |
|
Erik Svedäng
|
09fc80599a
|
Renamed some functions in Double and Float.
|
2017-10-13 16:11:23 +02:00 |
|
Erik Svedäng
|
cebc0a98d9
|
Modules explained.
|
2017-10-13 16:04:06 +02:00 |
|
Erik Svedäng
|
b1819ef259
|
Started working on a slide show presentation.
|
2017-10-13 15:07:34 +02:00 |
|
Erik Svedäng
|
6bf7bf453d
|
Put foreach macro into the Array module.
|
2017-10-13 13:50:15 +02:00 |
|
Erik Svedäng
|
49b13592fb
|
foreach-macro
|
2017-10-13 13:48:40 +02:00 |
|
Erik Svedäng
|
aee6e713b3
|
Removed left-over trace.
|
2017-10-13 12:48:18 +02:00 |
|
Erik Svedäng
|
57f1c401a9
|
Documentation for Array functions in Array.carp
|
2017-10-12 21:27:36 +02:00 |
|
Erik Svedäng
|
cba677ee89
|
Range function works again.
|
2017-10-12 20:13:53 +02:00 |
|
Erik Svedäng
|
46681f4cd5
|
Print strings with @ in front of them.
|
2017-10-12 08:38:53 +02:00 |
|
Erik Svedäng
|
68c58f149d
|
Can generate str functions for arrays of primitives and of other arrays.
|
2017-10-11 15:19:36 +02:00 |
|
Erik Svedäng
|
6083d17b84
|
Getting there...
|
2017-10-11 15:13:40 +02:00 |
|
Erik Svedäng
|
07a9c1d6f6
|
Can print an array of structs.
|
2017-10-11 14:48:07 +02:00 |
|
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
|
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
|
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
|
9f6418022f
|
Better error messages for weird types in typedef.
|
2017-09-05 11:32:32 +02:00 |
|
Erik Svedäng
|
271756de57
|
Missing text.
|
2017-09-04 11:36:09 +02:00 |
|
Erik Svedäng
|
3bef2ce24d
|
Must register all external types now.
|
2017-09-02 11:17:19 +02:00 |
|
Erik Svedäng
|
7d7d99b9b7
|
External types are correctly identified as non-managed by the 'isManaged' function.
|
2017-09-01 17:30:43 +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
|
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
|
caaa4d99c3
|
Basics example work again.
|
2017-06-30 14:21:31 +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
|
97714dc77b
|
Can log memory.
|
2017-06-30 10:46:40 +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
|
7a644b5b2f
|
Array docs.
|
2017-06-26 16:28:22 +02:00 |
|
Erik Svedäng
|
c80526cfaa
|
REPLACE WITH HASKELL VERSION
|
2017-06-26 11:15:03 +02:00 |
|