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
Kayne Ruse
9b21bfb53b
Missed a rename
2023-01-25 13:54:28 +00:00
Kayne Ruse
2e2bee4fa3
Renemed all variables to fit into a namespace
...
Basically, all Toy varaibles, functions, etc. are prepended with "Toy_",
and macros are prepended with "TOY_". This is to reduce namespace
pollution, which was an issue pointed out to be - blame @GyroVorbis.
I've also bumped the minor version number - theoretically I should bump
the major number, but I'm not quite ready for 1.0 yet.
2023-01-25 12:55:55 +00:00
Kayne Ruse
59b0d15915
Fixed a pattern with parsing identifiers
2023-01-23 21:19:51 +00:00
Kayne Ruse
df85d30553
Added loadScriptBytecode()
2023-01-21 04:27:01 +00:00
Kayne Ruse
d57fca474f
Fixed memory leak
2023-01-20 23:09:01 +00:00
Kayne Ruse
69f5151310
Finished runner library
2023-01-20 23:03:00 +00:00
Kayne Ruse
c47ee68b3f
Don't use the runner lib yet - will finish in the morning
2023-01-20 13:59:28 +00:00
Kayne Ruse
2c06c5e38b
BUGFIX: Buffer overflow
2023-01-20 13:56:07 +00:00
Kayne Ruse
e6e24ca19f
Began working on runner library
2023-01-20 13:42:45 +00:00
Kayne Ruse
68ed39fc45
Began working on a few bugs, thanks /u/skeeto!
2023-01-16 09:06:35 +00:00
Kayne Ruse
0649a141dd
Moved time header includes, comment tweaks
2023-01-13 15:39:22 +00:00
Kayne Ruse
584fb115b6
Fixed the awful rule110 implementation
2022-11-28 16:48:45 +00:00
Kayne Ruse
fb55f42d0e
Tweaked where strlen() is called
2022-11-26 15:53:07 +00:00
Kayne Ruse
cfafba589b
All tests passing, repl builds successfully
2022-11-26 09:53:59 +00:00
Kayne Ruse
0b57f7efe7
Added release build targets, because bored
2022-11-16 22:05:47 +00:00
Kayne Ruse
7bf18a744c
Tweaked bounds check
2022-11-12 11:39:32 +00:00
Kayne Ruse
fa20763c07
Corrected negative timers
2022-11-12 11:30:24 +00:00
Kayne Ruse
774f3d9e83
Corrected error messages in the timer lib
2022-11-12 10:07:54 +00:00
Kayne Ruse
30b068fcdb
Fixed timer issues, tests should pass
...
Reduced test duration by a factor of 11,000. Don't ask.
Also, something funny is going on with the time headers, so I
stuck them into source/toy_common.h, I'll figure it out later.
2022-11-12 04:45:35 +11:00
Kayne Ruse
3d8ce4e7d8
Trying to fix time and platforms
2022-11-11 17:31:45 +00:00
Kayne Ruse
e0ab4106fa
Implemented the timer library
2022-11-11 17:18:07 +00:00
Kayne Ruse
ec39f099ca
Wrote failing TDD test for timer library, not enabled
2022-11-08 19:40:21 +00:00
Kayne Ruse
8498864dde
Resolved a name clash with the engine
2022-11-07 16:38:39 +00:00
Kayne Ruse
8072beb007
Moved repl's tools into their own file
2022-10-03 20:18:06 +01:00
Kayne Ruse
3460967e3b
Added API macro to some functions
2022-10-02 00:44:46 +01:00
Kayne Ruse
467cd8d978
Resolved #26 , shared libs work on linux
2022-10-02 04:09:27 +11:00
Kayne Ruse
aa44d5fd43
Added aliasing of standard as a feature of standard
2022-09-24 07:20:26 +01:00
Kayne Ruse
f745470abe
Resolved #31 , added exit and quit commands to the repl
2022-09-24 06:41:09 +01:00
GruelingPine185
48dbbfaa24
build repl
2022-09-23 18:22:42 -04:00
GruelingPine185
ecbfcc28b5
resolved line ending warnings
2022-09-23 18:16:53 -04:00
Kayne Ruse
6a086395be
Renamed Node to ASTNode
2022-09-18 19:14:37 +01:00
Kayne Ruse
c680427b1e
Tweaked a build var name
2022-09-18 07:26:23 +01:00