Kayne Ruse
8653a2663f
Added _indexOf
2023-02-12 14:32:26 +00:00
Kayne Ruse
c00b32017b
Dummied out lib timer
2023-02-11 01:42:44 +00:00
Kayne Ruse
aeb008c684
Fixed unary negation bug, removed newline from print
2023-02-10 18:38:25 +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
ee226ea426
Strengthened constness for cstrings and bytecode
2023-02-10 08:52:38 +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
fc67d6a18b
Fixed a segfault
2023-02-09 08:24:16 +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
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
3088c4fe6d
Implemented _concat
2023-02-05 20:45:31 +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
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
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
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
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
69f5151310
Finished runner library
2023-01-20 23:03:00 +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
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
ae1dc5841e
Added ternary operator, resolved #46
2023-01-14 10:24:15 +00:00
Kayne Ruse
3498baad9b
Resolved #45 , Exports region removed
2023-01-13 16:12:44 +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
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
Kayne Ruse
d199209772
Updated compiler
2022-11-26 06:58:38 +00:00
Kayne Ruse
4cf5c6a5bf
Updated parser
2022-11-26 01:59:37 +00:00