Commit Graph

65 Commits

Author SHA1 Message Date
William Bell
24163e3389 fix gmp bug 2025-08-18 06:25:29 +01:00
William Bell
0c0832d131 add shell and stdin piping support 2025-08-18 06:22:13 +01:00
William Bell
663797d1fb change workflow to support other plateforms 2025-08-15 19:06:00 +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
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
f851b37f99 work on number parsing 2025-08-11 19:26:19 +01:00
William Bell
d2e742f992 add number type and object 2025-08-11 01:41:44 +01:00
49b1c1858a turn access into a function to be ran at runtime 2025-08-10 01:45:46 +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
a8acafffe9 add function calling 2025-08-04 23:31:25 +01:00
8ea69cce67 return err in translator 2025-07-14 22:22:26 +01:00
1f34490165 fix memory leak in return 2025-07-14 15:22:57 +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
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
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
fba074a5a4 limit arguments to not support duplicate names 2025-07-08 04:31:01 +01:00
5c0ced5e45 start supporting identifiers in bytecode 2025-07-06 03:19:30 +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
a275a0a0ad add functions to bytecode and continuing working on runtime objects 2025-06-25 04:59:09 +01:00
5bd43d2f12 fix gmp including x86_64 instead of just gmp.h 2025-06-14 19:47:06 +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
27a777ad86 start writing translator 2025-06-13 02:46:42 +01:00
b05408ebec add dictionaries and add accessing with a value 2025-06-12 04:37:07 +01:00
f8207702e1 add in as an operator 2025-06-11 02:29:14 +01:00
406c57c296 remove debug print 2025-06-11 02:12:52 +01:00
a47df1ddb0 add list support to parser 2025-06-11 02:08:17 +01:00
55c1500453 start trying to fix memory leaks 2025-06-10 05:19:37 +01:00
86c0eabfde add operations 2025-06-10 04:41:06 +01:00
1b90438bb9 remove indents from dowrap if they are 0 width 2025-06-05 23:39:49 +01:00
4c2c5a4f79 ignore indentation on empty lines 2025-06-05 23:31:18 +01:00
5e1cf0c8b1 fix syntax error on single new line after if statement 2025-06-05 23:26:49 +01:00
d941b88b70 fix bug causing parser to miss new lines after let. 2025-06-05 23:18:25 +01:00
000845ab25 add do wraps 2025-06-05 23:08:10 +01:00
c0ee99fd54 add multi line support for more stuff 2025-06-05 15:13:57 +01:00
acc432ed79 add access 2025-06-05 04:09:31 +01:00
61d8bc61c3 add mulitple variable declaration, with null default. add call 2025-06-05 04:04:41 +01:00