Commit Graph

64 Commits

Author SHA1 Message Date
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
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
c2e0cdc6d6 fix buffer overflow seg fault when using cache 2025-09-02 18:35:43 +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
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
William Bell
6ad0b2c02e switch allocations to atomic to improve performance 2025-08-20 00:26:35 +01:00
William Bell
0c0832d131 add shell and stdin piping support 2025-08-18 06:22:13 +01:00
William Bell
eb285b6e8f add linux arm64 to builds and reshape how execution is done. 2025-08-16 15:25:33 +01:00
William Bell
663797d1fb change workflow to support other plateforms 2025-08-15 19:06:00 +01:00
413725080b fix for macos 2025-08-14 16:20:52 +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
ad3e31b0a2 have memory malloced then converted to GC 2025-08-09 22:11:59 +01:00
William Bell
0635ba8517 work on method wrapper and native function support 2025-08-09 06:40:16 +01:00
6c05eff6a4 Merge branch 'main' of https://github.com/Open-Argon/Chloride 2025-08-04 02:13:37 +01:00
2ba60b38ae fix for macos 2025-08-04 02:13:34 +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
8ea69cce67 return err in translator 2025-07-14 22:22:26 +01:00
1bdc792705 translate and execute do wraps 2025-07-14 04:51:00 +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
fe7eaa8de3 fix some memory leaks 2025-07-09 14:47:16 +01:00
66b44e8f3a add full return err support in parser 2025-07-09 14:34:00 +01:00
e234ea074b start adding error message support 2025-07-09 01:55:40 +01:00
72cc87f5b6 create executable function which identifies and loads a cache if available 2025-07-07 04:03:11 +01:00
5c0ced5e45 start supporting identifiers in bytecode 2025-07-06 03:19:30 +01:00
886599c9c5 change to use cwalk for paths 2025-07-05 23:56:54 +01:00
8b2eedf589 load cache if it exists 2025-07-05 04:38:37 +01:00
246e20014f add file hashing for cache validation and provide the license to the cc0 files in the project 2025-07-01 04:28:32 +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
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
3a1fc91352 fix some double free, memory leaks, and seg faults 2025-06-14 19:41:31 +01:00
3a19b1519f add declarations to translator 2025-06-14 04:13:14 +01:00
be33dbe89f improve cross plateform binary portability 2025-06-14 01:56:12 +01:00
20621944e6 change string literals to be length terminated instead of null terminated, so null characters can be embeded 2025-06-14 01:16:28 +01:00
937a6598fa add instructions for loading string const to register 2025-06-13 15:42:48 +01:00
27a777ad86 start writing translator 2025-06-13 02:46:42 +01:00
55c1500453 start trying to fix memory leaks 2025-06-10 05:19:37 +01:00
61d8bc61c3 add mulitple variable declaration, with null default. add call 2025-06-05 04:04:41 +01:00
d2518afb8e add identifier to parser 2025-06-01 02:28:27 +01:00