Commit Graph

271 Commits

Author SHA1 Message Date
William Bell
89abf4e036 Update README.md 2025-11-21 01:04:51 +00:00
William Bell
df409dd3f6 Update README.md 2025-11-21 00:30:57 +00:00
William Bell
646938ea79 Update README.md 2025-11-21 00:21:36 +00:00
William Bell
9befc3760a Merge branch 'main' of https://github.com/Open-Argon/Carbon 2025-11-20 23:54:54 +00:00
William Bell
3d2ba09518 change back to stack level registers on call 2025-11-20 23:54:35 +00:00
94b86fc416 change the tests 2025-11-12 11:29:48 +00:00
William Bell
0a2aa7369f fix memory leak that occures when converting a hashmap to a string in debug mode 2025-11-11 19:57:24 +00:00
William Bell
0b594d7882 revert test 2025-11-11 18:06:54 +00:00
William Bell
c0ba18c37e fix buffer overflow in hashmap to array function. 2025-11-11 03:11:09 +00:00
William Bell
608fd86003 fix memory bug occuring in debug mode and attempting to fix another 2025-11-11 02:30:14 +00:00
William Bell
434b0ed99e fix bug where it hashmap output bug 2025-11-11 02:00:17 +00:00
William Bell
bfaf8df0d0 attempt to remove redundent memory allocations 2025-11-08 04:29:09 +00:00
William Bell
3e3df5595e fix hashmap to list missing items when they are in the same position in the list 2025-11-04 18:10:19 +00:00
William Bell
51c6bdcea9 fix seg fault in dictionary creation 2025-10-22 20:33:01 +01:00
William Bell
dd3b3b936d add dictionaries 2025-10-22 19:53:19 +01:00
William Bell
b6714b390a fix seg fault when callng a function with not enough parameters 2025-10-22 03:52:47 +01:00
William Bell
a9b1d23f79 fix windows build prerelease-v4.0.0-anonymous-functions-4 2025-10-21 21:43:02 +01:00
William Bell
6d3e79b731 fix window build prerelease-v4.0.0-anonymous-functions-3 2025-10-21 21:32:02 +01:00
William Bell
b3ee64d294 fix windows build prerelease-v4.0.0-anonymous-functions-2 2025-10-21 21:08:27 +01:00
William Bell
e6ec0fa38a fix windows building prerelease-v4.0.0-anonymous-functions-1 2025-10-21 20:57:22 +01:00
William Bell
c8394228b3 add function assignment prerelease-v4.0.0-anonymous-functions 2025-10-21 20:34:33 +01:00
70ba81bebc change to __set_attr__ 2025-09-19 00:31:04 +01:00
William Bell
50ff9fbefc add __setattr__ 2025-09-17 22:56:44 +01:00
William Bell
042c278b8d Merge remote-tracking branch 'refs/remotes/origin/main' 2025-09-17 17:26:41 +01:00
William Bell
81efaaac07 fix path bug 2025-09-17 17:25:42 +01:00
3b0ec79955 start adding set attribute support 2025-09-17 17:24:50 +01:00
William Bell
4be8e8e32f add __repr__ 2025-09-13 01:17:16 +01:00
William Bell
5846adf025 add dictionary string 2025-09-13 01:01:35 +01:00
William Bell
daa8056b7a add license to shell 2025-09-12 01:21:08 +01:00
William Bell
1a5abd9543 impliment micro optimisations by reordering and restructing the structs so they are smaller. 2025-09-09 18:41:19 +01:00
William Bell
774890de1d change the built in slots to be allocated on the fly, making the objects smaller but faster 2025-09-09 17:55:54 +01:00
William Bell
fc7cfc7cfb change how access is done and add built in array (need to optimise the size) 2025-09-09 06:24:23 +01:00
William Bell
d46a6dc209 improve performance by using an inline locals array in hashmaps 2025-09-08 02:21:26 +01:00
William Bell
23c4a7ebd1 add not and or, while also improving performance. 2025-09-07 21:03:57 +01:00
William Bell
57728af0b6 add multiplication, division, and && 2025-09-03 05:21:41 +01:00
William Bell
df040adf45 get functions to use a new register assignment, since they get new registers now 2025-09-02 22:31:01 +01:00
William Bell
c2e0cdc6d6 fix buffer overflow seg fault when using cache 2025-09-02 18:35:43 +01:00
William Bell
571efe46b7 fix buffer overflow seg fault when using cache 2025-09-02 18:35:36 +01:00
William Bell
67569bffc2 shitty boehm is dereferencing 0x20 for some stupid reason 2025-09-02 05:06:48 +01:00
William Bell
f5ee0f6fc8 fix operations not performing correctly and trying to fix cached code not executing correctly 2025-09-02 02:59:47 +01:00
William Bell
fd5b237dfe set up so reusing scope when in a loop 2025-09-01 23:09:09 +01:00
William Bell
322716af0c remove debug print 2025-09-01 22:11:54 +01:00
William Bell
c67b37d8b2 remove performance spec 2025-09-01 21:51:49 +01:00
William Bell
b9c0503d54 keep loop using the same dispatch table, removing the need to recreate the dispatch table 2025-09-01 21:51:16 +01:00
William Bell
19268f3070 improve performance massively from 0.9 seconds to 0.38 seconds :) 2025-09-01 20:25:47 +01:00
William Bell
4f91bf48f3 improve performance for integers 2025-08-30 03:29:02 +01:00
William Bell
4fc28d3b76 fix seg fault in optimised builds 2025-08-29 13:42:21 +01:00
c01dee80b0 add bool value to speed up primitives 2025-08-29 12:58:02 +01:00
0f0a3f5d31 change to dispatch table to hopefully improve speed 2025-08-29 12:22:35 +01:00
William Bell
f598c215e7 start adding assignment (currently only identifier assignment works) 2025-08-29 01:41:53 +01:00