|
6e05f1334a
|
Updated grammar rules for new scope system.
Need to implement scope fields still though.
|
2025-04-12 14:29:39 -04:00 |
|
|
845a7f87b2
|
Updated exception execution.
Now represents a sort of traceback.
|
2025-03-30 17:05:29 -04:00 |
|
|
5b163b26dd
|
Fixed static allocation of builting functions.
Co-authored-by: bgiobbe-tcs <bgiobbe.tcs@gmail.com>
|
2025-03-30 16:09:09 -04:00 |
|
|
d699f492fa
|
Updated to use the builtin functions list.
Wow, the type declaration for builtin_fns[] is cursed.
Also, first commit from zed :D.
|
2025-03-26 18:06:17 -04:00 |
|
|
18c61d86dc
|
Fixed crash on unknown var name.
|
2025-03-11 17:56:04 +09:00 |
|
|
db6e591d77
|
Added back all the old functions.
|
2025-02-26 12:43:55 -05:00 |
|
|
38c6a9113c
|
Added sub to the builtin functions.
|
2025-02-25 08:04:43 -05:00 |
|
|
109bcb3fa5
|
Fixed function calls on builtin.
Random pointer indirection.
|
2025-02-25 07:56:25 -05:00 |
|
|
79b60e4853
|
Fixed name error handling.
|
2025-02-25 07:52:02 -05:00 |
|
|
8cab531129
|
Fixed memory error in exception printing.
Conflation between char* & char**.
|
2025-02-25 07:47:08 -05:00 |
|
|
eb3fbca030
|
Some things are broken.
EVERYTHING IS BROKEN
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.
|
2025-02-15 11:03:51 -05:00 |
|
|
40b91b96bd
|
Adds type infrastructure.
Only floats (nums) are available at the moment.
|
2025-02-08 11:01:56 -05:00 |
|
|
b8ce193299
|
Scope works.
|
2025-02-08 10:21:22 -05:00 |
|
|
6cbc28e092
|
Maybe fixed some memory leaks.
I don't know cauase lsan isn't working.
|
2025-02-04 17:55:47 -05:00 |
|
|
fbabf71d64
|
Variable references in blocks now work.
:D :D :D
|
2025-02-04 17:00:28 -05:00 |
|
|
d5a07fae56
|
Started adding scope.
Doesn't really do anything yet as blocks aren't fully implemented.
|
2025-02-04 11:30:45 -05:00 |
|
|
5d81054cf6
|
Added variable definitions.
|
2025-02-03 11:28:47 -05:00 |
|
|
8b01407374
|
Added initial support for variables.
They are now parsed correctly, though they cannot be defined manually
and all have a value of 42.42.
|
2025-01-20 14:47:58 -05:00 |
|
|
7343c3b9d9
|
Fixed some function parsing.
|
2025-01-17 11:49:51 -05:00 |
|
|
bc0c4f33ad
|
Cleaned up.
|
2025-01-14 15:11:20 -05:00 |
|
|
d13bf883b5
|
Fixed some functions.
|
2025-01-11 11:05:26 -05:00 |
|
|
681e005a68
|
Generalized arithmetic functions
to arbitrary arguments.
|
2025-01-11 10:53:49 -05:00 |
|
|
2ce89fb39a
|
Added arbitrary length functions.
|
2025-01-11 10:35:42 -05:00 |
|
|
9a9e5cd3e0
|
Fixed parsing of negative numbers.
|
2025-01-04 09:53:39 -05:00 |
|
|
bdca40bae4
|
Made the infix ops call the normal functions.
|
2024-12-28 18:42:37 -05:00 |
|
|
b4cd46a1e7
|
Added division.
|
2024-12-28 18:39:33 -05:00 |
|
|
653736622f
|
Add multiplication.
Supports negative numbers too.
|
2024-12-21 10:45:43 -05:00 |
|
|
e3afe52ab7
|
Added negative numbers.
|
2024-12-21 10:33:36 -05:00 |
|
|
905acacd07
|
Fixed float addition.
One can now add floats, will also print the AST.
|
2024-12-21 10:12:30 -05:00 |
|
|
8763fa35dd
|
Updated README.md
|
2024-12-14 20:35:36 -05:00 |
|
|
7b19e553f2
|
With token.c.
|
2024-12-07 10:33:16 -05:00 |
|
|
8e5b39a6e4
|
Can now do integer addition (with floats! :D).
|
2024-11-30 10:44:21 -05:00 |
|
|
4514d94be9
|
Basic addition with integers is now available.
|
2024-11-30 10:24:31 -05:00 |
|
|
a36ae22d52
|
Added exec, grammar files.
|
2024-11-23 09:30:35 -05:00 |
|