|
6e05f1334a
|
Updated grammar rules for new scope system.
Need to implement scope fields still though.
|
2025-04-12 14:29:39 -04:00 |
|
|
4e66f7875a
|
Added grammars for function definitions.
|
2025-04-12 09:47:34 -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 |
|
|
f8ee7cc66e
|
Oh boy do I love formatting.
|
2025-03-26 18:16:13 -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 |
|
|
eaf65697de
|
Reformatted comments to be more consistent & clear.
|
2025-03-03 10:15:39 -05: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 |
|
|
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 |
|
|
67f659e263
|
Merge branch 'master' into types.
|
2025-02-08 10:23:15 -05:00 |
|
|
b8ce193299
|
Scope works.
|
2025-02-08 10:21:22 -05:00 |
|
|
11401e75a7
|
Fixed.
|
2025-02-08 09:25:54 -05:00 |
|
|
3678940537
|
Adds preliminary type enums.
|
2025-02-07 17:29:30 -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 |
|
|
78e31c3e27
|
Fixed block parsing for real this time.
I am such an idiot, ast_block_data_init() just ignored the given array
lol.
|
2025-02-04 16:50:04 -05:00 |
|
|
be3baee74e
|
Fixed dlists.
Also added tests.
|
2025-02-04 16:40:58 -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 |
|
|
70393ef9ae
|
Started work on blocks and the hash table.
|
2025-02-01 11:01:01 -05:00 |
|
|
efac7f7747
|
Added hashtable header.
|
2025-01-31 18:10:01 -05:00 |
|
|
3fcffc81ad
|
Merge branch 'variables'.
|
2025-01-25 10:13:25 -05:00 |
|
|
1a2249a0da
|
Fixed tests and Makefile for the last time.
|
2025-01-20 16:02:24 -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 |
|
|
3ab2696705
|
Updated dstr sz.
|
2025-01-18 11:14:14 -05:00 |
|
|
4be71317b0
|
Fixed memory leaks.
|
2025-01-18 10:41:54 -05:00 |
|
|
1e11b5921d
|
It all works! (except for mem leaks)
|
2025-01-18 09:42:28 -05:00 |
|
|
9e8410d4cf
|
Parens.
|
2025-01-16 11:59:34 -05:00 |
|
|
bc0c4f33ad
|
Cleaned up.
|
2025-01-14 15:11:20 -05:00 |
|
|
2ce89fb39a
|
Added arbitrary length functions.
|
2025-01-11 10:35:42 -05:00 |
|
|
b4cd46a1e7
|
Added division.
|
2024-12-28 18:39:33 -05:00 |
|
|
ca4cf2cd68
|
Finished Unity test support.
Not really, it fails to build tests sometimes and I have no idea why.
|
2024-12-28 11:52:59 -05:00 |
|
|
e19fc8820a
|
Added Unity in test.
|
2024-12-28 09:30:35 -05:00 |
|
|
8763fa35dd
|
Updated README.md
|
2024-12-14 20:35:36 -05:00 |
|
|
ec268f6047
|
Nothing works.
|
2024-12-07 11:01:00 -05:00 |
|
|
6fff5e5cc8
|
Without token.c.
|
2024-12-07 10:33:30 -05:00 |
|
|
7b19e553f2
|
With token.c.
|
2024-12-07 10:33:16 -05:00 |
|
|
85e17ede84
|
Addition with floats is now entirely possible.
|
2024-11-30 11:15:18 -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 |
|
|
4080d1a80a
|
Cleaned up.
|
2024-11-23 10:21:34 -05:00 |
|
|
a36ae22d52
|
Added exec, grammar files.
|
2024-11-23 09:30:35 -05:00 |
|
|
ad8ac61b98
|
Parse.
|
2024-11-16 10:42:50 -05:00 |
|
|
363188d7d6
|
The.
|
2024-11-16 10:00:40 -05:00 |
|
|
139d6fcb22
|
Things.
|
2024-11-09 11:09:57 -05:00 |
|
|
92d9da14c2
|
Grammars are broken.
|
2024-11-09 10:27:03 -05:00 |
|
|
120038ea8f
|
Global lexer.
|
2024-11-07 19:41:14 -05:00 |
|