Commit graph

7 commits

Author SHA1 Message Date
cfd15122ab fix(parser): make ; be part of the statement
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-07 13:41:28 +00:00
87b911183c style(tests): fix indentation in expect blocks
Signed-off-by: Charlotte Meyer <dev@buffet.sh>
2022-11-05 13:32:38 +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
fbba44312f fix(lexer): fix inproper handling of \\\n
Before it would escape the newline resulting in passing it as an
argument.

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
78593f1667 feat(parser): parse double quoted strings 2022-10-01 13:29:15 +00:00
02f19d91ee feat(parser): implement parser 2022-09-15 21:20:26 +00:00