Commit Graph

38 Commits

Author SHA1 Message Date
William Bell
c856e7d654 add multiplication and division 2025-08-19 02:36:09 +01:00
William Bell
ed1b77a78e fix unused parameters 2025-08-15 05:43:08 +01:00
William Bell
5d81045dad Merge remote-tracking branch 'refs/remotes/origin/main' 2025-08-15 05:42:04 +01:00
William Bell
2d577594fc add subtract support and string concatenation 2025-08-15 05:41:26 +01:00
413725080b fix for macos 2025-08-14 16:20:52 +01:00
William Bell
4b439fc52a change function depending on the operation 2025-08-14 05:42:38 +01:00
William Bell
340843c99c start working on supporting operations 2025-08-14 04:51:11 +01:00
William Bell
d4528e44f6 change how numbers are stored so they are in an efficent binary format, able to be quickly read by the runtime 2025-08-12 00:13:01 +01:00
William Bell
d2e742f992 add number type and object 2025-08-11 01:41:44 +01:00
William Bell
bbf8794dd5 fix scope bug in if statement 2025-08-10 22:14:06 +01:00
William Bell
c71375c7a4 fix memory being freed too early 2025-08-10 04:39:50 +01:00
49b1c1858a turn access into a function to be ran at runtime 2025-08-10 01:45:46 +01:00
ad3e31b0a2 have memory malloced then converted to GC 2025-08-09 22:11:59 +01:00
b755e574bd add string initialisation 2025-08-09 18:51:23 +01:00
William Bell
345c4ce841 make objects initialisation through type.__call__ 2025-08-09 17:00:57 +01:00
William Bell
0635ba8517 work on method wrapper and native function support 2025-08-09 06:40:16 +01:00
William Bell
38e2cad507 pass object into call if object is a method 2025-08-07 05:16:51 +01:00
William Bell
4b6d15336a make native function support and start working on support for error catching 2025-08-06 22:31:31 +01:00
William Bell
8ba755aeac break stack frames into chunks 2025-08-05 05:11:09 +01:00
William Bell
a8acafffe9 add function calling 2025-08-04 23:31:25 +01:00
af371f5b9f start working on function calls 2025-08-04 02:09:38 +01:00
417d66faf3 write runtime object bootstrap 2025-08-03 01:48:41 +01:00
William Bell
a7d7ded803 start working on runtime oop 2025-08-02 20:17:24 +01:00
f5103cb6a3 follow reuse spec for license 2025-07-13 18:28:05 +01:00
f7ff3393f0 add if statement and declaration 2025-07-13 03:34:31 +01:00
c0eb9e3a04 add hashmap to scope and identifier loading at runtime 2025-07-12 03:33:59 +01:00
e234ea074b start adding error message support 2025-07-09 01:55:40 +01:00
fba074a5a4 limit arguments to not support duplicate names 2025-07-08 04:31:01 +01:00
72cc87f5b6 create executable function which identifies and loads a cache if available 2025-07-07 04:03:11 +01:00
3adecb4eba use hashmap in constants buffer to speed up translation time with large files 2025-06-30 17:56:32 +01:00
aa65393e2c change to uint8_t for bytecode to reduce wasted bytes 2025-06-27 06:07:57 +01:00
6828cc5f1a fix memory leak in declaration and function 2025-06-26 16:56:17 +01:00
a9d0ba0318 add function object 2025-06-26 05:11:34 +01:00
a275a0a0ad add functions to bytecode and continuing working on runtime objects 2025-06-25 04:59:09 +01:00
908d627962 add null object and add load const 2025-06-24 03:49:05 +01:00
498cd39c04 start creating base objects for runtime 2025-06-24 01:55:01 +01:00
74c71c3a1b start working on oop runtime 2025-06-22 19:00:03 +01:00
bddfb59886 start working on runtime 2025-06-20 02:50:05 +01:00