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
c70cbc701d
implement hideously inefficient fix to work around rust
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-02-24 15:09:00 -08:00
Ava Hahn
a1e19a19d9
simplify eval, add member function to symtable to call a symbol
2023-02-23 23:01:47 -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
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
Ava Hahn
45453f819f
prompt configuration validated
...
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-01-22 19:47:05 -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
69f31db23b
WIP: testing closure types
2021-12-31 11:00:13 -08:00
Aidan Hahn
4cadb1a7eb
WIP Commit for stackoverflow
2021-12-30 21:14:24 -08:00
Aidan Hahn
a967ac5c3e
(un)finished env integration logic
2021-11-25 21:24:04 -08:00
Aidan Hahn
5aa2b27343
in progress work with scaffolding for environment integration
2021-11-21 12:48:11 -08:00
Aidan Hahn
c465c974d4
var export works now lol
2021-11-14 22:55:52 -08:00
Aidan Hahn
5d345a4c73
in progress conversion of export to eval_lazy
2021-11-14 21:41:39 -08:00
Aidan Hahn
827458b06f
fix docs, and init stdlib when configuring
2021-11-08 00:59:14 -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
7ca42f18da
hook concat into stl
2021-11-03 23:48:14 -07:00
Aidan Hahn
ff5e76ff98
add str concat, refactor str tests
2021-11-03 23:42:59 -07:00
Aidan Hahn
d8eef9c95b
fix function calls with no argument
2021-11-02 19:18:11 -07:00
Aidan Hahn
ee3b53bfb5
add append function
2021-11-02 19:05:35 -07:00
Aidan Hahn
8445a51d80
remove superfluous mut
2021-10-17 23:11:31 -07:00
Aidan Hahn
0c2faac9ce
fix silly mistake with echo function
2021-10-17 23:07:38 -07:00
Aidan Hahn
2c5d64bc9c
Update readme, alter echo command
2021-09-19 16:05:30 -07:00
Aidan Hahn
a8e2484212
normalize inputs via shell
2021-09-18 17:02:40 -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
5ed8a054d3
primitive repl
2021-09-18 15:26:16 -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