Commit graph

14 commits

Author SHA1 Message Date
Ava Hahn
93a1e06a53
all tests green
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-25 23:36:30 -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
Ava Hahn
5261efbc65
big temp status
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-01-27 17:45:19 -08:00
Aidan Hahn
be73b0b828
refmt 2022-01-16 22:02:40 -08:00
Aidan Hahn
72598c2168
new fixes for lexing process, tests to go with them 2021-09-18 16:48:24 -07:00
Aidan Hahn
2c30975571
more complex tests 2021-07-19 23:59:03 -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
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
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
Aidan
bcb32b19d4
- fixed lexing of inline and postline comments 2021-01-25 20:55:16 -08:00
Aidan
34573a999e
add more unit tests for lexing 2021-01-24 22:32:09 -08:00
Aidan
172aa4ea4b
- added more unit tests for lexer
- corrected defects revealed by added tests
2021-01-24 22:04:26 -08:00
Aidan
e4f2fbaa70
- syntax tree datatypes
- prototype lex function
- a lex unit test
- gitignore
- library structure
- license
2021-01-24 12:34:58 -08:00