Commit graph

32 commits

Author SHA1 Message Date
789349df48 Error Messaging Redesign
This commit contains the following:

* New data types to support full tracebacks
* New traceback data type used across stl and ast
* Updates to tests
* fixes for error messaging in sym and some stl functions
2023-05-23 22:06:11 +00:00
6969ea63bc usability improvements to env and def
* env prints variables and functions in seperate columns
* run/stl seperation of concerns significantly better
* def doesnt store lists or lambdas in the environment
2023-05-21 23:53:00 +00:00
c127118465 fully interactive shell
* Background task implementation
* Foreground an existing task implementation
* Documentation for both
* Refactors to signal handling, process pre-exec
2023-05-18 06:53:23 +00:00
09b032271b small docs updates, add trailing slash to autocompleted directories 2023-05-16 10:58:06 -07:00
1ef0a534db
tab complete! yay!
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-05-03 15:13:18 -07:00
db55c54dd3
main -> relish 2023-04-17 20:24:50 -07:00
99cb9e5a2e
elementary shell behavior: can kick off a foreground process and
handle signals
2023-03-24 18:14:33 -07:00
a711b32730
shell fully configurable 2023-03-23 11:52:36 -07:00
df6b5b5f06
reformat some readme stuff 2023-03-20 23:11:29 -07:00
751388b04c
a bit better prompt printing 2023-03-20 23:02:33 -07:00
3f75157fac
got all the load script stuff done.
added script args to main shell
also added userlib tests to ci
2023-03-20 19:00:30 -07:00
1ee9ba55fb
Added USERLIB with prepend and set.
Added a q shortcut to quote
get-doc and set-doc no longer conditionally evaluate args
Fixed bug in let, documented potential performance improvements
upped default history to 5k lines
2023-03-17 13:06:27 -07:00
Ava Hahn
20821057f2
complete all introductory documentation, except for the Easy Patterns
section
Also, removed some stray debug lines and added a printed newline
inbetween prompt and output
2023-03-16 15:14:24 -07:00
67af8bbd47
multiline shell, yay! 2023-03-15 21:55:10 -07:00
Ava Hahn
ca9f755d50
rustfmt previous commit 2023-03-05 22:37:13 -08:00
Ava Hahn
914bf1303f
fix the many-body-script and lex-singlet problems
Signed-off-by: Ava Hahn <ava@aidanis.online>
2023-03-01 12:20:43 -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
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
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
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
827458b06f
fix docs, and init stdlib when configuring 2021-11-08 00:59:14 -08:00
Aidan Hahn
307101327c
variable export and entire config system 2021-11-07 22:04:57 -08: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
a8e2484212
normalize inputs via shell 2021-09-18 17:02:40 -07:00
Aidan Hahn
5ed8a054d3
primitive repl 2021-09-18 15:26:16 -07:00