Ava Hahn
ca9f755d50
rustfmt previous commit
2023-03-05 22:37:13 -08:00
Ava Hahn
dc6342bc74
Several changes, see commit msg
...
* clean up all tests
* bugfix for zero value functions, and test
* removed expand function, put in snippets
* added doc strings to Symbol type
* added doc strings to symbol declarations
* implemented display for Args type
* wrote a help function
* wrote docstrings for all builtins and config vars
2023-03-05 22:18:49 -08:00
Ava Hahn
4b587f11ab
finished circuit form
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-03 14:29:53 -08:00
Ava Hahn
c235f9727f
finished while form
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-02 15:29:50 -08:00
Ava Hahn
cb83fa5655
implement iseq, tests
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-02 12:48:26 -08:00
Ava Hahn
5ce0a8e8b2
add bool var toggle function
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-02 12:15:42 -08:00
Ava Hahn
28e158f110
add some boolean operations, tests for
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-02 09:43:12 -08:00
Ava Hahn
c1d83a6285
finished let forms
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-01 15:17:50 -08:00
Ava Hahn
bc09cb07b1
rustfmt
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-01 11:47:37 -08:00
Ava Hahn
2439a37aaa
repl now complete
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-01 11:14:42 -08:00
Ava Hahn
fbb85f2e3d
update export callback and add tests
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-28 11:57:59 -08:00
Ava Hahn
c5e68f25ba
fix up def tests
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-28 11:20:00 -08:00
Ava Hahn
870b444505
better if, fixes control tests
2023-02-28 11:12:27 -08:00
Ava Hahn
452cb7a654
fix append func
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-28 09:59:33 -08:00
Ava Hahn
09e3546ba6
implement basic control flow, error handling from functions, many tests
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-27 22:53:54 -08:00
Ava Hahn
ae365ad63c
WIP commit to re-add and refactor config, repl, and library code
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-27 17:30:49 -08:00
Ava Hahn
93a1e06a53
all tests green
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-25 23:36:30 -08:00
Ava Hahn
82854a58f8
expand func call tests
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-24 16:05:10 -08:00
Ava Hahn
d640c815a8
add eval test
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-24 15:45:27 -08:00
Ava Hahn
8e13b5b87f
tests function now
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-24 15:29:17 -08:00
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
b20f64b038
all tests but vars tests refactored
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-17 22:10:54 -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
Ava Hahn
d296eb4510
markdown -> org mode
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-01-21 14:53:55 -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
1b1ac3cd2b
export vars fixed. tests pass
2021-11-08 00:45:09 -08:00
Aidan Hahn
307101327c
variable export and entire config system
2021-11-07 22:04:57 -08:00
Aidan Hahn
0931fbdcf0
add variable export function
2021-11-06 15:48:30 -07:00
Aidan Hahn
ff5e76ff98
add str concat, refactor str tests
2021-11-03 23:42:59 -07:00
Aidan Hahn
e139756a81
cleaner test code
2021-11-02 20:12:14 -07:00
Aidan Hahn
62ff86df32
split lib tests into many files, add append tests
2021-11-02 20:05:26 -07:00
Aidan Hahn
b41b52e112
add tests for lib functions
2021-11-02 19:49:44 -07: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
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
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