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
a6be116a2d
Adds test for integer arithmetic.
2025-02-07 17:33:18 -05:00
3678940537
Adds preliminary type enums.
2025-02-07 17:29:30 -05:00
cddf5eed76
Creates config.mk.
...
Moves a bunch of stuff clutter out of the Makefile.
2025-02-04 18:11:30 -05:00
c685d6e55f
TODO.md.
2025-02-04 17:59:39 -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
408a5a46c0
Can set and ref vars in main scope.
...
One can now assign and reference variables in the main scope, as it has
been put in a block through the parser.
Also added some tests for this purpose.
2025-02-04 17:28:06 -05:00
6903aeb383
Added Makefile rule to count LOC.
2025-02-04 17:03:55 -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
4153903443
Added types example.
...
This is gonna be hard to implement...
2025-02-03 13:37:21 -05:00
77d58bd69e
Updated STATUS.md.
2025-02-03 13:10:48 -05:00
47a3143752
Merge remote-tracking branch 'refs/remotes/origin/master'
2025-02-03 13:07:10 -05:00
4fb73b3c6f
Fixed word accumulator.
2025-02-03 13:02:47 -05:00
e5c58d5fc5
Fixed tests.
...
Can't have spaces for some reason. Not a real fix.
2025-02-03 13:02:28 -05:00
5d81054cf6
Added variable definitions.
2025-02-03 11:28:47 -05:00
66c518fe43
Don't know why that last test is hanging.
...
Will fix later I guess.
2025-02-03 10:06:53 -05:00
5ecdf2d89a
Sorted .gitignore again because that's important.
2025-02-01 21:38:45 -05:00
a5a86dc080
Basic blocks now work.
2025-02-01 18:40:43 -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
27e61471a8
Fixed some things.
2025-01-25 10:12:15 -05:00
c94d7863a7
Fixed tests.
2025-01-25 09:22:31 -05:00
4dd1f2b5f1
Slightly broken.
2025-01-20 18:05:56 -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
0293c925d2
Fixed dstr test.
2025-01-18 11:12:07 -05:00
16d62f280f
Fix Makefile assuming dirs.
2025-01-18 11:10:50 -05:00
0dbeff7077
Fix Makefile assuming dirs.
2025-01-18 11:07:46 -05:00
96038f4baa
Updated README.
2025-01-18 11:05:58 -05:00
6d7ff5d43f
Updated README.
2025-01-18 11:05:15 -05:00
868ee84aeb
Updated README.
2025-01-18 11:01:56 -05:00
694eb43eab
Bump version.
v1.0-alpha
stable
2025-01-18 10:47:10 -05:00
694d40124f
Bump version.
2025-01-18 10:46:21 -05:00
39778ce08d
Bump version.
2025-01-18 10:44:13 -05:00
cfd44621d5
Whoops a bit overzealous with search and replace.
2025-01-18 10:43:18 -05:00
4be71317b0
Fixed memory leaks.
2025-01-18 10:41:54 -05:00
49642553e1
Cleaned up Makefile.
2025-01-18 10:41:34 -05:00
1e11b5921d
It all works! (except for mem leaks)
2025-01-18 09:42:28 -05:00
7343c3b9d9
Fixed some function parsing.
2025-01-17 11:49:51 -05:00
9e8410d4cf
Parens.
2025-01-16 11:59:34 -05:00
bc0c4f33ad
Cleaned up.
2025-01-14 15:11:20 -05:00
1098fa252f
Added parenthesis.
...
Also updated some grammar rules for negatives to be more general.
2025-01-14 13:59:26 -05:00