Commit Graph

117 Commits

Author SHA1 Message Date
William Bell
8ba755aeac break stack frames into chunks 2025-08-05 05:11:09 +01:00
c3c41e0336 fix incorrect formats and output memory usage on call stack warning 2025-08-05 01:00:07 +01:00
William Bell
a8acafffe9 add function calling 2025-08-04 23:31:25 +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
William Bell
a7d7ded803 start working on runtime oop 2025-08-02 20:17:24 +01:00
8ea69cce67 return err in translator 2025-07-14 22:22:26 +01:00
0c8d018238 add jump for else statement 2025-07-14 19:50:44 +01:00
1f34490165 fix memory leak in return 2025-07-14 15:22:57 +01:00
ef5edfa13a fix licensing 2025-07-14 05:46:54 +01:00
e519cc38ab pull changes from libdye 2025-07-14 05:34:43 +01:00
f1e8ad1ac2 add return 2025-07-14 05:33:57 +01:00
1bdc792705 translate and execute do wraps 2025-07-14 04:51:00 +01:00
217e4047d3 fix lexer and argon license comments 2025-07-13 19:06:02 +01:00
c3e9a09dee re add license.txt for github 2025-07-13 18:33:50 +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
744e3c281d remove license header 2025-07-12 03:37:06 +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 prerelease-v4.0.0-pre-alpha-10 2025-07-09 14:47:16 +01:00
66b44e8f3a add full return err support in parser 2025-07-09 14:34:00 +01:00
0cb55fc563 move assign to return errors 2025-07-09 05:09:12 +01:00
c4731597f3 start rewriting the parser to return with error messages so errors can be caught 2025-07-09 04:58:49 +01:00
e234ea074b start adding error message support 2025-07-09 01:55:40 +01:00
9e5e932d39 start adding error message support 2025-07-09 01:55:32 +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 prerelease-v4.0.0-pre-alpha-9 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
cbebe4812b pull submodules prerelease-v4.0.0-pre-alpha-8 2025-07-05 04:58:08 +01:00
8b2eedf589 load cache if it exists prerelease-v4.0.0-pre-alpha-7 prerelease-v4.0.0-pre-alpha-6 2025-07-05 04:38:37 +01:00
48647f3734 load cache if it exists 2025-07-05 04:38:28 +01:00
47379a2621 Remove old xxHash submodule 2025-07-01 15:11:34 +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
c31f16d68d add file hashing for cache validation 2025-07-01 04:28:03 +01:00
49ae0223cb change gentest to be written in python for speed build faster while chloride isnt in a finished state 2025-07-01 01:19:23 +01:00
d868de4ab9 remove big test files 2025-06-30 17:57:03 +01:00
3adecb4eba use hashmap in constants buffer to speed up translation time with large files 2025-06-30 17:56:32 +01:00
31f38d8ba4 fix translation taking a while if constants buffer is big 2025-06-28 16:17:46 +01:00
aa65393e2c change to uint8_t for bytecode to reduce wasted bytes 2025-06-27 06:07:57 +01:00
358127a145 fix memory leak in operations 2025-06-26 18:08:17 +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
4f757cd9b8 print with embeded nulls prerelease-v4.0.0-pre-alpha-5 2025-06-24 03:57:38 +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