Commit graph

16 commits

Author SHA1 Message Date
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
Ava Hahn
71b70fe4b8
fix case for 0 arg function calls
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-01-22 19:36:37 -08:00
Ava Hahn
e7dd0caa4a
flesh out todo list, better configure code
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-01-21 16:12:21 -08:00
Aidan Hahn
be73b0b828
refmt 2022-01-16 22:02:40 -08:00
Aidan Hahn
f805290a4b
finally figure out how to hold closures 2022-01-16 22:01:42 -08:00
Aidan Hahn
a967ac5c3e
(un)finished env integration logic 2021-11-25 21:24:04 -08: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
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
Aidan
61e3985592
Add vars table
- added vars table
- refactored function and func table to use impl
- added add and delete methods for func table
2021-02-07 23:16:25 -08:00
Aidan
af28692175
Added Function Tables
- Ftable struct
- CallFunction procedure
- Refactors to Cell, Ctr (consequently to lex too)
- More recursive routines in Cell
2021-02-07 11:45:26 -08:00