Commit Graph

403 Commits

Author SHA1 Message Date
Kayne Ruse
76a0290290 Removed export keyword from README.md 2023-02-09 17:46:28 +00:00
Kayne Ruse
85dc24c4a6 Updated bug report template v0.8.1 2023-02-09 17:25:24 +00:00
Kayne Ruse
1804e380a0 tweak 2023-02-09 17:06:51 +00:00
Kayne Ruse
7567f4f3b2 Experimenting with issues 2023-02-09 17:05:20 +00:00
Kayne Ruse
e8160eb9df Fixed string indexing with null 2023-02-09 16:46:36 +00:00
Kayne Ruse
276648630e trying to uncluster-bomb the builtin functions 2023-02-09 16:12:42 +00:00
Kayne Ruse
e946a5f071 Patched segault in parser 2023-02-09 12:37:18 +00:00
Kayne Ruse
932401c26d Can now correctly parse escaped characters 2023-02-09 08:44:08 +00:00
Kayne Ruse
fc67d6a18b Fixed a segfault 2023-02-09 08:24:16 +00:00
Kayne Ruse
60908c8bf3 Added panic state to Toy_Compiler to catch a certain condition 2023-02-09 07:58:55 +00:00
Kayne Ruse
b8e3324acb tweak 2023-02-07 18:32:59 +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
0b9051cab2 Experimenting with numbers 2023-02-06 05:37:41 +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
c0ec5ef28e Tested _concat() with clashing dict keys 2023-02-05 22:46:00 +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
9bd0cd23e7 Imported an example file for bytecode size testing, see #21 2023-02-05 15:40:17 +00:00
Kayne Ruse
29f8a698b4 Added a mustfail test 2023-02-05 15:19:04 +00:00
Kayne Ruse
41d274177a String concatenation restricted to + and += signs 2023-02-05 15:15:32 +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
15f99495a1 Aesthetics 2023-02-05 11:31:17 +00:00
Kayne Ruse
7b26527e95 Nesting index multiplication assignment fixed
This affects all arithmetic types applied to inner-nested compounds.
2023-02-05 06:28:24 +00:00
Kayne Ruse
386201b6e9 Added fib-memo.toy, fixed bugs until it worked 2023-02-04 17:01:58 +00:00
Kayne Ruse
8d278077b1 Added constant folding for strings, tweaked some error messages 2023-02-04 09:50:29 +00:00
Kayne Ruse
57c16d2ede Fixed an obscure memory leak, potential issue with lib_runner on linux 2023-02-04 15:30:46 +11:00
Kayne Ruse
2f1613e306 Caught an error in the compiler 2023-02-04 03:03:56 +00:00
Kayne Ruse
2776c87026 Ambiguous ternary syntax might be an issue 2023-02-04 02:59:10 +00:00
Kayne Ruse
8cc33f5fbb Added to ternary expression tests 2023-02-03 17:22:44 +00:00
Kayne Ruse
90f91a234a r is a bad character to escape 2023-01-31 12:38:42 +00:00
Kayne Ruse
fcd1cdf70b Added a few characters that can be escaped 2023-01-31 12:37:18 +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
aeda0a0d94 Fixed pointer to int casting 2023-01-28 09:11:38 +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
4bce10803e Added official support for mingw32 2023-01-28 07:56:11 +00:00
Kayne Ruse
daee91904d Trying to test on windows 2023-01-28 06:20:36 +00:00
Kayne Ruse
c397384766 Merge remote-tracking branch 'refs/remotes/origin/main' 2023-01-28 06:11:54 +00:00
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