Commit Graph

43 Commits

Author SHA1 Message Date
Kayne Ruse
9c790f8cd6 Got hooks working 2022-09-17 13:01:09 +01:00
Kayne Ruse
7eb16e51bb Changed how string/identifier lengths are determined in copyLiteral 2022-09-15 16:36:42 +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
28b1b8e2cc Depth check 2022-09-07 19:00:24 +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
6511d652f2 It's bloody never-ending 2022-09-06 20:43:45 +10:00
Kayne Ruse
b8f20add66 Finished slice and dot notation, needs a lot of testing 2022-09-06 06:46:50 +01:00
Kayne Ruse
304e1a5fb0 Plumbing for index and dot notations is working 2022-09-05 17:43:42 +01:00
Kayne Ruse
2aecf6e8a1 Implemented typeof and added resetInterpreter() 2022-09-05 10:56:35 +01:00
Kayne Ruse
7fb9ebbce0 Import and export are working 2022-09-05 06:39:05 +01:00
Kayne Ruse
dceb83e618 Suppressed print statements during tests 2022-09-05 05:30:06 +01:00
Kayne Ruse
ae270008b0 Added errorOutput to interpreter, moved builtin functions to their own file 2022-09-04 15:15:30 +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
4fb2dea1b4 Found a leak, moving to linux 2022-08-28 23:47:58 +01:00
Kayne Ruse
9c766ec61e Working on memory issues 2022-08-28 01:35:00 +01:00
Kayne Ruse
ec91bac8a5 Native functions are working 2022-08-27 15:39:42 +01:00
Kayne Ruse
e523a6f60a Interpreter adopts inner interpreter panic state on assert failure 2022-08-27 12:07:41 +01:00
Kayne Ruse
90e5a5d08b Rest parameter working 2022-08-27 11:59:54 +01:00
Kayne Ruse
85f3dfbf1d TODO tweak 2022-08-26 13:04:37 +01:00
Kayne Ruse
7bd67765aa Functions take a set number of arguments 2022-08-26 12:48:10 +01:00
Kayne Ruse
ffc50ceafb Closures work 2022-08-26 03:54:58 +01:00
Kayne Ruse
0c67ce6476 Stopgap limit on return count 2022-08-26 02:14:05 +01:00
Kayne Ruse
041fe99e01 Function declaration seems to work 2022-08-25 15:19:08 +01:00
Kayne Ruse
4f70bea808 Implemented logical && and || 2022-08-23 05:07:17 +01:00
Kayne Ruse
5b82ed8e45 Must force a type when dealing with compound types 2022-08-22 14:27:41 +01:00
Kayne Ruse
300f8e382b Store complex types in variables 2022-08-22 13:28:44 +01:00
Kayne Ruse
9ac16f8e80 Comment tweaks 2022-08-22 02:16:24 +01:00
Kayne Ruse
b385b461e0 Increment and decrement operators work 2022-08-21 00:23:09 +01:00
Kayne Ruse
c64d451287 Added string concatenation 2022-08-20 22:58:50 +01:00
Kayne Ruse
80ccd119ff Changed truthiness 2022-08-20 22:43:44 +01:00
Kayne Ruse
18ecece348 Tweaked TODO 2022-08-20 20:11:11 +01:00
Kayne Ruse
18c5fb6add Break and continue keywords are working 2022-08-20 20:08:22 +01:00
Kayne Ruse
daceaa5492 Found a weird bug, reporting it 2022-08-20 13:44:55 +01:00
Kayne Ruse
cbdfcbcc14 Tweaked docs 2022-08-20 07:21:43 +01:00
Kayne Ruse
97e72550da Removed under-used optimization options 2022-08-19 19:27:23 +01:00
Kayne Ruse
4f0aebc32f Type casting is working: 2022-08-19 19:24:07 +01:00
Kayne Ruse
16291bd1af Declare variables with a type but no value allowed 2022-08-19 17:52:24 +01:00
Kayne Ruse
574a864dd0 Reworked the type system, types now have a single value 2022-08-17 17:39:33 +01:00
Kayne Ruse
ecca17dbef Updated spec 2022-08-15 12:17:27 +01:00