Kayne Ruse
b4a3e9b42b
Renamed drive system files, see #88
2023-07-26 00:53:41 +10:00
Kayne Ruse
ba98624e82
Fixed C-API function name, resolved #87 , thanks @hiperiondev
2023-07-26 00:22:45 +10:00
Kayne Ruse
1ec0f63f76
Removed unneeded safties from the libs
...
I missed removing these before, and I haven't needed these in a long time.
2023-07-21 04:25:36 +10:00
Kayne Ruse
e2fa1cf2e8
Moved lib_runner's drive system into the core of the lang
2023-03-15 06:12:35 +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
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
457014d577
Added MSVC build support, likely broke tests
2023-02-11 00:49:21 +00:00
Kayne Ruse
ee226ea426
Strengthened constness for cstrings and bytecode
2023-02-10 08:52:38 +00:00
Kayne Ruse
7ea249f723
Added the about library, resolved #51
2023-02-05 14:43:46 +00:00
Kayne Ruse
a357e0b0d4
Implemented _trim()
2023-01-29 08:30:31 +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
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