Kayne Ruse
667efc2feb
Removed nonstandard C constructor attribute
2023-01-28 06:06:04 +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
b2c3dd894c
Added a memusage tool
2023-01-25 15:11:22 +00:00
Kayne Ruse
9b21bfb53b
Missed a rename
2023-01-25 13:54:28 +00:00
Kayne Ruse
d3adac8a59
Fixed the parser - whoops
2023-01-25 13:17:57 +00:00
Kayne Ruse
5183037a99
Missed the globals
2023-01-25 13:15:16 +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.
v0.8.0
2023-01-25 12:55:55 +00:00
Kayne Ruse
047ccc5f16
Prepended file names with "toy_"
2023-01-23 21:45:52 +00:00
Kayne Ruse
59b0d15915
Fixed a pattern with parsing identifiers
2023-01-23 21:19:51 +00:00
Kayne Ruse
6d961cea78
Tweaked refstring, thanks SchuperJesse!
2023-01-23 08:21:51 +00:00
Kayne Ruse
33f360c9cf
Fixed a way to have a bad type, thanks neuf!
2023-01-21 13:33:25 +00:00
Kayne Ruse
d3516b4fc9
Adjusted the interpreter's version guard
2023-01-21 13:10:04 +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
390f60e0ce
F around and find out
2023-01-16 09:48:20 +00:00
Kayne Ruse
580e407b05
Squeaky clean!
2023-01-16 09:40:32 +00:00
Kayne Ruse
26bd476c2c
Sanitized some addresses
2023-01-16 09:36:05 +00:00
Kayne Ruse
b8b67fce3d
Testing sanitiser
2023-01-16 09:15:20 +00:00
Kayne Ruse
68ed39fc45
Began working on a few bugs, thanks /u/skeeto!
2023-01-16 09:06:35 +00:00
Kayne Ruse
aeecfabbbc
Null pointer exceptions in parser unary function
2023-01-15 18:15:59 +00:00
Kayne Ruse
51740e2b9e
Resolved #25 , Indexing an array with a non-integer causes an error
2023-01-15 15:09:01 +00:00
Kayne Ruse
402abb647c
Dummied out _index
2023-01-15 14:28:53 +00:00
Kayne Ruse
3aa7bf1877
Added patron list, which I forgot until now
2023-01-15 07:24:28 +00:00
Kayne Ruse
ae1dc5841e
Added ternary operator, resolved #46
2023-01-14 10:24:15 +00:00
Kayne Ruse
4b60d65203
Tweaked README.md
2023-01-13 16:31:56 +00:00
Kayne Ruse
3498baad9b
Resolved #45 , Exports region removed
v0.7.0
2023-01-13 16:12:44 +00:00
Kayne Ruse
0649a141dd
Moved time header includes, comment tweaks
2023-01-13 15:39:22 +00:00
Kayne Ruse
65e5905011
Updated license dates
2023-01-11 20:48:47 +00:00
Kayne Ruse
bf64275aa9
Floats will always print with a trailing number
2023-01-08 13:26:04 +00:00
Kayne Ruse
08b400debf
Added dictionary key mustfail test
2023-01-08 12:58:02 +00:00
Kayne Ruse
9ad2a6cf2e
Tweaked build message
2023-01-08 23:46:04 +11:00
Kayne Ruse
8009f410a4
Added mustfail test, fixed compound type decl bug
2023-01-08 12:43:25 +00:00
Kayne Ruse
584fb115b6
Fixed the awful rule110 implementation
2022-11-28 16:48:45 +00:00
Kayne Ruse
70698a4a1a
Simplified an optimisation
2022-11-27 02:25:33 +00:00
Kayne Ruse
eb26d23363
Added FUNDING.yml, because why is this so popular?
2022-11-27 02:14:03 +00:00
Kayne Ruse
c1625c53f4
Patched a bug in deepCopyRefString()
v0.6.4
2022-11-26 21:33:46 +00:00
Kayne Ruse
fb55f42d0e
Tweaked where strlen() is called
2022-11-26 15:53:07 +00:00
Kayne Ruse
e4ef35092f
Merge pull request #43 from Ratstail91/dev
...
refstring implementation to handle strings and identifiers
v0.6.3
2022-11-26 21:43:35 +11:00
Kayne Ruse
cfafba589b
All tests passing, repl builds successfully
2022-11-26 09:53:59 +00:00
Kayne Ruse
f6367fa89d
Updated interpreter
2022-11-26 09:43:19 +00:00