Overview Overview In order to attain it’s goals, Hush takes great inspiration in Lua, the industry proven embedded scripting language. If you’re familiar with Lua, you’ll notic...
Command Blocks Command Blocks Command blocks is the feature that distinguishes Hush from ordinary programming languages. They allow Hush scripts to seamlessly invoke and interc...
Introduction Hello World Making the script executable Calling Hush directly Tooling Introduction In this section, we’ll learn more about the basic constructs provided by Hu...
Installation Packaged distributions Binary download Building from source Editor support Installation Hush comes as a single binary, which can be installed on Unix systems w...
Builtins Builtins Some commands must be implemented as shell builtins, so that they can mutate the shell state, a thing that would not be possible for an external program. A go...
Control Flow and Functions If expressions Functions Self While loops For loops Break statement Wrapping up Control Flow and Functions If expressions In Hush, condition...
Foreword But why do we need a new shell scripting language? Foreword This is the official guide of Hush , a modern shell scripting language. A shell scripting language is a do...
Use Built-in Database Configure with Dashboard Configure with Configuration Items Migrate from external storage to EMQX built-in database Use Built-in Database You can use th...
Type System Type System Hush is strongly dynamically typed, which means all values have a well formed type , but variables are untyped . Therefore, you may assign values of d...