5e18e89af4
feat(builtins): add basic math builtins
...
This adds basic addition, substraction, multiplication, and division
commands as builtins.
All of those operate solely on f64's.
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-05 13:22:33 +00:00
ac8a22ad99
refactor(runtime tests): split off builtin tests
...
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-02 15:41:01 +00:00
a88a163273
refactor(tests): use expect-test rather than insta
...
insta doesn't support having a single check function with all the
duplicated code.
Acked-by: ElKowar
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-10-28 08:12:26 +00:00
a5d971de35
fix(pipeline): use OsString in tests
...
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-10-28 08:12:26 +00:00
4e1a835ddc
feat: add command substitutions with ()
...
This requires PreparedCommand's to work with OsStrings rather than
Strings.
Acked-by: cpli
Acked-by: ElKowar
2022-10-28 08:12:25 +00:00
23f69a33e5
feat(builtins): use proc macro for builtins
2022-10-28 08:12:25 +00:00
092360bce6
feat(runtime): implement builtins, add help
2022-10-23 14:32:28 +00:00
f0698457ed
feat(runtime): set foreground job properly
2022-09-25 12:36:08 +00:00
0bfa8b3c8f
feat(runtime): add basic runtime
2022-09-24 12:42:59 +00:00