Commit graph

19 commits

Author SHA1 Message Date
Ava Hahn
e055f26e90
replace mutex with rwlock
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-20 19:42:48 -08:00
Ava Hahn
7555a90328
significant refactor and simplification 2023-02-17 21:06:52 -08:00
Ava Hahn
ca4c557d95
WIP commit:
* Fix up project structures
* combine vars and funcs table
* make a place for old code that may be useful to reference
* singleton pattern for sym table

Commentary:
When this change is finally finished I promise to use feature branches
from here on out
2023-02-15 23:30:44 -08:00
Aidan Hahn
be73b0b828
refmt 2022-01-16 22:02:40 -08:00
Aidan Hahn
1b1ac3cd2b
export vars fixed. tests pass 2021-11-08 00:45:09 -08:00
Aidan Hahn
d8eef9c95b
fix function calls with no argument 2021-11-02 19:18:11 -07:00
Aidan Hahn
2c30975571
more complex tests 2021-07-19 23:59:03 -07:00
Aidan
df5cb47cb4
Significant improvement to eval routine and tests 2021-06-22 00:50:37 -07:00
Aidan
9b981921b4
add more unit tests for function calls 2021-06-06 10:24:19 -07:00
Aidan
a6abc993a5
finish eval referencing issues, update func tests 2021-06-05 17:46:13 -07:00
Aidan
4712d5466c
simplify func return type, complete eval and process logic 2021-06-05 01:14:38 -07:00
Aidan
0adda0109c
improvements to eval prototype 2021-05-31 23:06:56 -07:00
Aidan
4fa8d84cec
in progress commit 2021-05-25 09:45:59 -07:00
Aidan
33f2e1eb16
more untested code 2021-03-31 23:01:22 -07:00
Aidan
f83872d8b5
in progress commit
- fill out eval skele
- documentation comments in var tabel
2021-03-17 00:03:43 -07:00
Aidan
306ec6af09
skele of eval function 2021-03-16 22:43:46 -07:00
Aidan
3434a49cc1
Big referencing refactor
- RC+RefCell pattern used... everywhere
- Ast type implemented
- unit tests for func_call
- more changes, but this commit scope has grown significantly and I
cannot list them all
2021-03-14 16:14:57 -07:00
Aidan
76b12a8214
in progress commit
- fixed errors in func and vars blocking testing
- use box references in call and eval
Still need to fix the tests themselves....
2021-03-07 19:24:38 -08:00
Aidan
d2f60314f9
in progress commit
- added vars to lib
- fixed adders and getters to both vtable and ftable
- made function operations a dual type (enum)
- prototyped calling of stored external ASTs with
arguments (additional operation type
- stub for eval
- added index function to Cell
2021-02-14 16:33:17 -08:00