(Not So) Advanced
While the "Advanced" title might sound daunting and you might be tempted to skip this chapter, in fact, some of the most interesting and powerful features can be found here.
Besides the built-in commands, rsh has a standard library.
rsh operates on structured data. You could say that rsh is a "data-first" shell and a programming language. To further explore the data-centric direction, rsh includes a full-featured dataframe processing engine using Polars as the backend. Make sure to check the Dataframes documentation if you want to process large data efficiently directly in your shell.
Values in rsh contain some extra metadata. This metadata can be used, for example, to create custom errors.
Thanks to rsh's strict scoping rules, it is very easy to iterate over collections in parallel which can help you speed up long-running scripts by just typing a few characters.
You can
interactively explore data
with the
explore
command.
Finally, you can extend rsh's functionality with plugins. Almost anything can be a plugin as long as it communicates with rsh in a protocol that rsh understands.