Commit Graph

29 Commits

Author SHA1 Message Date
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
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
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
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
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
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
cc27da50df Reworked dot.toy into a proper test 2022-09-04 10:37:19 +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
1b8559f0ef Squashing bugs 2022-09-03 08:45:06 +01:00
Kayne Ruse
4ad33a3082 Fixed jumps in functions issue 2022-09-03 07:57:25 +01:00
Kayne Ruse
6c151e21b0 tired 2022-09-03 06:58:50 +10:00
Kayne Ruse
4625efecfd Fixed native function issues 2022-09-02 21:04:23 +01:00
Kayne Ruse
90b504d3a4 No segfaults, still failing tests 2022-09-01 14:00:31 +10:00
Kayne Ruse
5300e2ceec Gonna start unit testing to resolve issues 2022-08-28 07:03:12 +01:00