hellerve
|
843402c42f
|
fixed test cases
|
2017-11-27 14:51:33 +01:00 |
|
hellerve
|
89eb010045
|
tests: simplified
|
2017-11-27 14:45:14 +01:00 |
|
Erik Svedäng
|
1ae5385ad8
|
Merge branch 'master' of https://github.com/carp-lang/Carp
|
2017-11-27 12:56:08 +01:00 |
|
Erik Svedäng
|
7b5a0aa7eb
|
All tests run, but can still confuse the type checker, see "expression_problem.carp"
|
2017-11-27 12:36:17 +01:00 |
|
tamamu
|
a5c90feab8
|
Add CFLAG to build on typical Linux OSes
|
2017-11-26 16:17:48 +09:00 |
|
Erik Svedäng
|
88fd0dc32c
|
Adding an interface for '/='.
|
2017-11-24 17:17:49 +01:00 |
|
Erik Svedäng
|
de4cae3a9c
|
Merge pull request #106 from hellerve/simplify-geometry
Simplify Geometry module
|
2017-11-24 17:06:24 +01:00 |
|
hellerve
|
e874111093
|
geometry: simplified conversion
|
2017-11-24 16:22:53 +01:00 |
|
hellerve
|
cb2e278576
|
geometry: simplify functions for converting between degree and radians
|
2017-11-24 16:21:47 +01:00 |
|
Erik Svedäng
|
fb8d559cd9
|
Merge pull request #104 from hellerve/pi-and-e
Improve precision of π and e
|
2017-11-22 22:58:56 +01:00 |
|
Erik Svedäng
|
f566d080d8
|
Interfaces more typeclass-like, all tests run.
|
2017-11-22 22:03:08 +01:00 |
|
hellerve
|
ba2aa70a55
|
double: improve precision of pi and e
|
2017-11-22 18:25:03 +01:00 |
|
Erik Svedäng
|
6f86e2802a
|
New compiler flag: --log-memory
|
2017-11-22 16:33:03 +01:00 |
|
Erik Svedäng
|
9f60aba18d
|
strdup is handled properly by the memory balancer
|
2017-11-22 16:25:05 +01:00 |
|
Erik Svedäng
|
c3f5f233cc
|
Disable memory logging.
|
2017-11-22 16:08:19 +01:00 |
|
Erik Svedäng
|
be74ad5a1e
|
Fixed a few cases where plain malloc was used (should be CARP_MALLOC)
|
2017-11-22 16:04:14 +01:00 |
|
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 |
|