ladybird/Shell
AnotherTest 1a4ac3531f Shell: Allow parts of globs to be named in match expressions
This patchset allows a match expression to have a list of names for its
glob parts, which are assigned to the matched values in the body of the
match.
For example,
```sh
stuff=foobarblahblah/target_{1..30}
for $stuff {
    match $it {
        */* as (dir sub) {
            echo "doing things with $sub in $dir"
            make -C $dir $sub # or whatever...
        }
    }
}
```

With this, match expressions are now significantly more powerful!
2020-10-29 11:53:01 +01:00
..
Tests Shell: Allow parts of globs to be named in match expressions 2020-10-29 11:53:01 +01:00
AST.cpp Shell: Allow parts of globs to be named in match expressions 2020-10-29 11:53:01 +01:00
AST.h Shell: Allow parts of globs to be named in match expressions 2020-10-29 11:53:01 +01:00
Builtin.cpp Shell: Rename {source,dest}_fd to {old,new}_fd 2020-10-29 11:53:01 +01:00
CMakeLists.txt Shell: Make 'editor' a member of Shell, and provide a LibShell 2020-09-30 20:05:24 +02:00
Execution.h Shell: Move everything to the Shell namespace 2020-10-04 23:12:28 +02:00
Formatter.cpp Shell: Allow parts of globs to be named in match expressions 2020-10-29 11:53:01 +01:00
Formatter.h Shell: Add support for brace expansions 2020-10-25 10:09:27 +01:00
Forward.h Shell: Add support for brace expansions 2020-10-25 10:09:27 +01:00
Job.cpp Shell: Do not bail early when printing jobs if waitpid() fails 2020-10-29 11:53:01 +01:00
Job.h Shell: Move everything to the Shell namespace 2020-10-04 23:12:28 +02:00
main.cpp Shell+LibLine: Move Shell::{load,save}_history() to Line::Editor 2020-10-26 11:27:54 +01:00
NodeVisitor.cpp Shell: Add support for brace expansions 2020-10-25 10:09:27 +01:00
NodeVisitor.h Shell: Add support for brace expansions 2020-10-25 10:09:27 +01:00
Parser.cpp Shell: Allow parts of globs to be named in match expressions 2020-10-29 11:53:01 +01:00
Parser.h Shell: Allow parts of globs to be named in match expressions 2020-10-29 11:53:01 +01:00
Shell.cpp Shell: Wait for the rest of the members of a pipeline when one exits 2020-10-29 11:53:01 +01:00
Shell.h Shell: Wait for the rest of the members of a pipeline when one exits 2020-10-29 11:53:01 +01:00