Commit graph

218 commits

Author SHA1 Message Date
f902bd5473 add tab completion for unescaped paths
Signed-off-by: Ava Affine <ava@sunnypup.io>
2024-02-07 11:13:17 -08:00
b8e22f1b07 update emacs bindings
Signed-off-by: Ava Affine <ava@sunnypup.io>
2024-02-06 14:43:24 -08:00
6c17cfb52e update repl name
Signed-off-by: Ava Affine <ava@sunnypup.io>
2024-02-06 14:40:16 -08:00
49d2466eae Merge branch 'rename-flesh' into 'main'
rename relish to flesh

See merge request whom/relish!11
2024-02-06 22:39:08 +00:00
9b447eb5b7 rename relish to flesh 2024-02-06 22:39:08 +00:00
415b1181fa add syntax highlighting for emacs
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-10-19 12:20:57 -07:00
5dcf601384 dont spin at max speed when waiting for foreground process
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-10-18 14:29:53 -07:00
e042cd1152 more gates, add job for implicit-load feature
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-10-13 09:07:08 -07:00
3e32b222f8 gate posix include with feature flag
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-10-12 21:10:26 -07:00
88e9287d01 fabricate surrounding parens for top level statements from repl
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-10-12 21:08:04 -07:00
c05b94e92a fall back on shell command behaviour for undefined variables
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-10-12 20:50:27 -07:00
0babc1986a add list type check 2023-07-30 12:26:02 -07:00
e3875d4652 Merge branch 'exit-assert-control-flow' into 'main'
Assert, Exit builtins

See merge request whom/relish!10
2023-06-20 01:25:19 +00:00
2cd5016c1d Assert, Exit builtins
* Builtins for assert and exit are added
* Tests for assert are added
* file operations from previous MR are added to documents
* assert and exit are added to documents
2023-06-20 01:25:19 +00:00
270cc32572 Merge branch 'file-ops' into 'main'
File operations

See merge request whom/relish!9
2023-06-19 07:32:55 +00:00
64be70b3af File operations
* read
* write
* append
* exists?
* tests for each
2023-06-19 07:32:55 +00:00
25db2aac47 Merge branch 'cond' into 'main'
Added cond function to Userlib

See merge request whom/relish!8
2023-06-12 23:23:49 +00:00
dariof4
bd23198009 Added cond function to Userlib
Added the cond function to Userlib, also added the associated tests
and documentation.
2023-06-13 00:18:11 +02:00
fb724ccee4 add version flag 2023-06-11 23:48:18 -07:00
e802eb480d Merge branch 'custom-validator' into 'main'
Add custom validator to fix multiline behaviour when working with strings

See merge request whom/relish!7
2023-06-11 18:23:36 +00:00
dariof4
9a93dd0e19 Add custom validator to fix multiline behaviour when working with strings 2023-06-11 18:23:36 +00:00
7d2fe51709 account for comment delimiters in strings 2023-06-08 17:13:45 -07:00
0a01f9178c another tweak to eval/quote equivalency, more tests 2023-06-08 17:11:10 -07:00
33791c7f3b update error message to actually be helpful 2023-06-08 13:54:31 -07:00
398726568a fix evaluation behavior mismatch between functions and lambdas
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-06-08 12:48:34 -07:00
e0b837cb21 userlib tests should pass without including posix stuff 2023-06-06 11:38:50 -07:00
a9cc38826e Load stdlib with shell state ahead of configuration 2023-06-06 11:32:25 -07:00
981df23ea2 flip CFG_RELISH_POSIX behavior
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-06-06 11:32:25 -07:00
b9414ae4d2 Merge branch 'cargo-clippy' into 'main'
Readme and clippy cleanups

See merge request whom/relish!6
2023-05-28 23:22:49 +00:00
8cc0202a7b Readme and clippy cleanups 2023-05-28 23:22:49 +00:00
cbd52de91b Refactor documentation to get the language reference text out of the
way of more typical readme items.
2023-05-28 15:14:15 -07:00
6ab075c2bb add a function table to the readme 2023-05-26 00:06:41 -07:00
e31090744a Merge branch 'cargo-posix-feature' into 'main'
POSIX conditional compilation

See merge request whom/relish!5
2023-05-26 06:41:18 +00:00
906cb16355 POSIX conditional compilation:
* All features related to POSIX environments (env vars, shell stuff) gated by feature flags
* Dependencies optional per feature flags
* new CI target for non-POSIX build
* new CI target for release binary artifact

Signed-off-by: Ava Hahn [ava@sunnypup.io](mailto:ava@sunnypup.io)
2023-05-26 06:41:18 +00:00
5e15109b0c elaborate on goals for upcoming work
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-05-25 17:17:45 -07:00
c2c1cbfc44 Merge branch 'posix-exit' into 'main'
Finish up pre-v1 goals

See merge request whom/relish!4
2023-05-25 23:08:44 +00:00
3bbea6bea0 This MR finishes up all remaining Pre V1 goals
* add a posix exit() builtin
* improve separation of concerns regarding standard library structure
2023-05-25 23:08:44 +00:00
b3c0b80ee6 dont duplicate commands in autocomplete
Signed-off-by: Ava Hahn <ava@sunnypup.io>
2023-05-25 15:21:12 -07:00
23b295c10d big important improvements to path autocomplete 2023-05-25 15:18:42 -07:00
eba113b034 update links in readme 2023-05-25 15:00:14 -07:00
9631f84fc5 Merge branch 'error-messaging' into 'main'
Error Messaging Redesign

See merge request whom/relish!3
2023-05-23 22:06:12 +00:00
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
91ad4eed12 Merge branch 'better-env-print' into 'main'
usability improvements to env and def

See merge request whom/relish!2
2023-05-21 23:53:00 +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
825854fd42 docs fix 2023-05-18 08:59:19 -07:00
478b9f74c5 Merge branch 'fully-interactive-shell' into 'main'
fully interactive posix shell

See merge request whom/relish!1
2023-05-18 06:53:23 +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
69216db72a refresh a few examples in the docs 2023-05-16 11:31:08 -07:00
9febeabdb2 add an actual community channel, commit a skeleton interactive-devel lib 2023-05-16 11:01:42 -07:00
09b032271b small docs updates, add trailing slash to autocompleted directories 2023-05-16 10:58:06 -07:00