Ratstail91
|
efc1e764d2
|
Patched a casting error in round
|
2023-02-27 23:27:11 +11:00 |
|
Kayne Ruse
|
348b7b8c24
|
Added some math utils to standard
* ceil
* floor
* max
* min
* round
|
2023-02-27 21:32:31 +11:00 |
|
Ratstail91
|
e9b347acb6
|
MSVC + Box Engine are dumber than a bag of rocks
|
2023-02-25 04:40:12 +11:00 |
|
Kayne Ruse
|
92c71a374d
|
Implemented a basic random library
|
2023-02-23 19:19:17 +11:00 |
|
Kayne Ruse
|
3e6d21afbb
|
Added abs(), hash() to libstandard
|
2023-02-23 18:36:12 +11:00 |
|
Kayne Ruse
|
7f0f17b6e0
|
Patched up failures from Toy_parseIdentifierToValue
I really don't like that function - it needs to be replaced.
|
2023-02-20 06:11:30 +00:00 |
|
Kayne Ruse
|
6fa224fa7b
|
Hooks can't be dict keys, tweaked Toy_readFile
|
2023-02-18 16:47:38 +00:00 |
|
Kayne Ruse
|
49f240ea07
|
Minor tweak
|
2023-02-18 12:15:23 +00:00 |
|
Kayne Ruse
|
2adb9d9158
|
Tweaked lib runner API
|
2023-02-16 22:04:47 +00:00 |
|
Kayne Ruse
|
1668dca255
|
Tweaked some APIs, hid some functions I don't want in the API
|
2023-02-16 13:06:07 +00:00 |
|
Kayne Ruse
|
0737b2a483
|
Dropped underscore functions in favour of UFCS
|
2023-02-14 08:37:31 +00:00 |
|
Kayne Ruse
|
eae96d6403
|
Corrected the order of arguments to Toy_callLiteralFn()
|
2023-02-14 08:00:35 +00:00 |
|
Kayne Ruse
|
eb8e522bf2
|
Merged standard and timer, resolved #48
|
2023-02-13 13:58:41 +00:00 |
|
Kayne Ruse
|
16b71ba6f4
|
Implemented quicksort in _sort()
|
2023-02-13 13:31:58 +00:00 |
|
Kayne Ruse
|
9725f3c6a3
|
Patched some very obscure bugs
|
2023-02-12 16:54:44 +00:00 |
|
Kayne Ruse
|
8653a2663f
|
Added _indexOf
|
2023-02-12 14:32:26 +00:00 |
|
Kayne Ruse
|
ab2cd5dc93
|
Removed lib timer properly, see #62
|
2023-02-12 14:19:14 +00:00 |
|
Kayne Ruse
|
724804a78a
|
Playing with level.toy
|
2023-02-11 15:27:23 +00:00 |
|
Kayne Ruse
|
77a128e0f7
|
Added the -t option to the repl
|
2023-02-11 14:51:19 +00:00 |
|
Kayne Ruse
|
5343e1054d
|
Straightened out file extensions
|
2023-02-11 14:26:55 +00:00 |
|
Kayne Ruse
|
c00b32017b
|
Dummied out lib timer
|
2023-02-11 01:42:44 +00:00 |
|
Kayne Ruse
|
457014d577
|
Added MSVC build support, likely broke tests
|
2023-02-11 00:49:21 +00:00 |
|
Kayne Ruse
|
53012dbce1
|
Added _filter()
|
2023-02-10 15:41:38 +00:00 |
|
Kayne Ruse
|
4fe57f9562
|
Added _containsKey() and _containsValue()
|
2023-02-10 15:27:39 +00:00 |
|
Kayne Ruse
|
3ba2e420ea
|
Added _every() and _some()
|
2023-02-10 15:00:15 +00:00 |
|
Kayne Ruse
|
66ea684a90
|
Disabled comments in the repl
|
2023-02-10 12:11:42 +00:00 |
|
Kayne Ruse
|
ee226ea426
|
Strengthened constness for cstrings and bytecode
|
2023-02-10 08:52:38 +00:00 |
|
Kayne Ruse
|
0fc8183799
|
Added _reduce
|
2023-02-06 09:46:20 +00:00 |
|
Kayne Ruse
|
9a6aa8d15e
|
Added _trimBegin() and _trimEnd()
|
2023-02-06 06:11:17 +00:00 |
|
Kayne Ruse
|
0d7e4db661
|
Fixed repl bug
|
2023-02-06 04:47:30 +00:00 |
|
Kayne Ruse
|
d5c833b344
|
I wish I could test on windows
|
2023-02-06 01:05:44 +00:00 |
|
Kayne Ruse
|
c875ae7a0e
|
Added _forEach and _map, added tests for them
|
2023-02-06 00:51:07 +00:00 |
|
Kayne Ruse
|
be91de9535
|
Fixed a leak
|
2023-02-05 20:46:55 +00:00 |
|
Kayne Ruse
|
3088c4fe6d
|
Implemented _concat
|
2023-02-05 20:45:31 +00:00 |
|
Kayne Ruse
|
7ea249f723
|
Added the about library, resolved #51
|
2023-02-05 14:43:46 +00:00 |
|
Kayne Ruse
|
3949be3706
|
Quick potential bugfix
|
2023-02-05 13:34:39 +00:00 |
|
Kayne Ruse
|
0e932f24cc
|
Added _toString()
|
2023-02-05 13:29:44 +00:00 |
|
Kayne Ruse
|
60225b733b
|
Added _getKeys() and _getValues()
|
2023-02-05 12:49:12 +00:00 |
|
Kayne Ruse
|
8d278077b1
|
Added constant folding for strings, tweaked some error messages
|
2023-02-04 09:50:29 +00:00 |
|
Kayne Ruse
|
e265038547
|
Tested custom char trims
|
2023-01-29 08:38:26 +00:00 |
|
Kayne Ruse
|
a357e0b0d4
|
Implemented _trim()
|
2023-01-29 08:30:31 +00:00 |
|
Kayne Ruse
|
2c5e3c6aa5
|
Started working on compound library
|
2023-01-29 07:23:52 +00:00 |
|
Kayne Ruse
|
ebbcba1b16
|
Enabled -std=c18 -pedantic, fixed all resulting errors
Thanks @gyrovorbis
|
2023-01-28 08:54:46 +00:00 |
|
Kayne Ruse
|
f4469fc53d
|
Removed file extension guard
|
2023-01-27 07:03:36 +00:00 |
|
Kayne Ruse
|
c86c5800a7
|
Moved guard
|
2023-01-27 06:31:13 +00:00 |
|
Kayne Ruse
|
e4d843ad3a
|
Type check
|
2023-01-27 06:16:39 +00:00 |
|
Kayne Ruse
|
6667bce3d7
|
Finally fixed the buffer
I suppose valgrind, et. al. complaining is a good thing, overall.
|
2023-01-27 06:01:05 +00:00 |
|
Kayne Ruse
|
50b07da188
|
Put the clear BEFORE the return
|
2023-01-27 05:56:23 +00:00 |
|
Kayne Ruse
|
708db75760
|
Forgot to free this buffer
|
2023-01-27 05:53:35 +00:00 |
|
Kayne Ruse
|
b632ce77ba
|
Moved drive to filepath code into a function
|
2023-01-27 05:49:14 +00:00 |
|