Commit Graph

101 Commits

Author SHA1 Message Date
Kayne Ruse
386201b6e9 Added fib-memo.toy, fixed bugs until it worked 2023-02-04 17:01:58 +00:00
Kayne Ruse
fcd1cdf70b Added a few characters that can be escaped 2023-01-31 12:37:18 +00:00
Kayne Ruse
ae1dc5841e Added ternary operator, resolved #46 2023-01-14 10:24:15 +00: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
fa20763c07 Corrected negative timers 2022-11-12 11:30:24 +00:00
Kayne Ruse
2c143a8be5 Moved tests from scripts/ to test/scripts/ 2022-11-11 14:51:47 +00:00
Kayne Ruse
0aa6e4063b Spotted a scope issue in the test 2022-11-08 20:22:20 +00:00
Kayne Ruse
ec39f099ca Wrote failing TDD test for timer library, not enabled 2022-11-08 19:40:21 +00:00
Kayne Ruse
0c8e036de8 Added vscode syntax highlighting under /tools 2022-11-07 09:44:26 +00:00
Kayne Ruse
5d240f85a6 BUGFIX: chained calls not being dottified 2022-11-04 11:13:40 +01:00
Kayne Ruse
cceefa6375 Resolved #38 2022-11-03 16:25:29 +01:00
Kayne Ruse
1baa65cc95 Removed annoying assertion test messages from test output 2022-10-19 23:34:15 +01:00
Kayne Ruse
78ce3bdb99 Added to a test 2022-10-16 10:35:44 +01:00
Kayne Ruse
bd348abf32 Added dot chaining for functions
Well, it should work without issues...
2022-10-14 23:58:15 +01:00
Kayne Ruse
bd4ab2aa04 Added the opaque keyword 2022-10-03 21:32:09 +01:00
Kayne Ruse
ca24c4f211 Added the opaque data type 2022-10-03 21:02:13 +01:00
Kayne Ruse
256538e1f9 Added a utility to call toy functions from C 2022-10-01 13:51:40 +01:00
Kayne Ruse
aa44d5fd43 Added aliasing of standard as a feature of standard 2022-09-24 07:20:26 +01:00
Kayne Ruse
64cc514171 Expanded the tests a little 2022-09-18 07:03:18 +01:00
Kayne Ruse
978e7cfac4 wrote a simple test for libs 2022-09-18 06:52:00 +01:00
Kayne Ruse
29b1c41064 Implemented #27, easy coercion from int to float 2022-09-14 16:30:54 +01:00
Kayne Ruse
a7ca6d23d7 Reviewed the spec, fixed some bugs 2022-09-10 14:11:13 +01:00
Kayne Ruse
4b99ce2fb6 Fixed nested assignment bug 2022-09-09 17:55:23 +01:00
Kayne Ruse
a0ea0f7f31 More subtle bugfixes 2022-09-08 05:42:39 +01:00
Kayne Ruse
5861602f23 changed dot operator to access global functions 2022-09-08 01:18:20 +01:00
Kayne Ruse
8d8928438d How did I forget something so basic? 2022-09-07 19:32:43 +01:00
Kayne Ruse
28b1b8e2cc Depth check 2022-09-07 19:00:24 +01:00
Kayne Ruse
9a55ff221a Fixed some indexing bugs 2022-09-07 18:43:32 +01:00
Kayne Ruse
8f61575579 Added to a test 2022-09-07 15:05:46 +01:00
Kayne Ruse
23fdec541d Changed my mind about oftype/typeof 2022-09-07 15:02:17 +01:00
Kayne Ruse
4137b7f057 switched typeof for oftype, switched typeas for astype 2022-09-07 14:47:57 +01:00
Kayne Ruse
6c71a16e3e Fixed type variable evaluation, it now occurs at var definition 2022-09-07 14:21:40 +01:00
Kayne Ruse
6511d652f2 It's bloody never-ending 2022-09-06 20:43:45 +10:00
Kayne Ruse
39af340fbc It's done for now 2022-09-06 10:49:22 +01:00
Kayne Ruse
63a7231254 TWO BYTES 2022-09-06 18:59:25 +10:00
Kayne Ruse
17f1dc8647 cleaning up tests 2022-09-06 09:22:50 +01:00
Kayne Ruse
b8f20add66 Finished slice and dot notation, needs a lot of testing 2022-09-06 06:46:50 +01:00
Kayne Ruse
82c03ecb33 Added the typeas keyword to avoid ambiguity 2022-09-05 12:24:42 +01:00
Kayne Ruse
2aecf6e8a1 Implemented typeof and added resetInterpreter() 2022-09-05 10:56:35 +01:00
Kayne Ruse
2a3206d951 Rearranged some internal initialization to support multiple files being run 2022-09-05 09:55:04 +01:00
Kayne Ruse
f80709ae41 Solved a function scope issue 2022-09-05 16:39:09 +10:00
Kayne Ruse
7fb9ebbce0 Import and export are working 2022-09-05 06:39:05 +01:00
Kayne Ruse
22af1edb1d So apparently, casting doens't need parens 2022-09-04 14:08:42 +01:00
Kayne Ruse
ac35a859e0 Fixed a leak 2022-09-04 20:23:50 +10:00
Kayne Ruse
cc27da50df Reworked dot.toy into a proper test 2022-09-04 10:37:19 +01:00
Kayne Ruse
6787cfff55 Tested matrix manipulation 2022-09-04 10:27:16 +01:00
Kayne Ruse
36154b25ac Changed dict type syntax to using a colon instead of a comma 2022-09-04 09:01:09 +01:00
Kayne Ruse
d12ad4f60d Fixed codeStart issue 2022-09-04 08:51:19 +01:00
Kayne Ruse
86061cb74e Fixed an argument list bug, found a casting bug 2022-09-03 16:04:18 +01:00