{"library":"powscript","title":"Powscript","description":"Powscript is a bash dialect transpiler written in bash that provides a CoffeeScript-inspired, indentation-based syntax for shell scripting. It compiles to bash (version 4+) or experimental POSIX sh, reducing semantic noise from traditional shell syntax. Features include automatic quoting, safety checks (halt on error, require_cmd/require_env), functional programming constructs, JSON support, module system, and easy async. The current stable version is 0.9 (based on old compiler), with a new compiler in development (beta available). It is self-installing with no external dependencies (bash-only) and targets embedded systems or any environment where bash is available. Key differentiator: no need for gcc or node – pure bash, but not actively maintained.","language":"javascript","status":"deprecated","last_verified":"Fri May 01","install":{"commands":["npm install powscript"],"cli":{"name":"powscript","version":null}},"imports":["./powscript myscript.pow","./powscript -c myscript.pow > myscript.bash","./powscript myscript.pow"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"wget \"https://raw.githubusercontent.com/coderofsalvation/powscript/master/powscript\" -O /usr/local/bin/powscript && chmod 755 /usr/local/bin/powscript\n# Create a test.pow file:\ncat > test.pow << 'EOF'\n#!/usr/bin/env powscript\nrequire_cmd 'echo'\nrequire_env 'HOME'\n\nrun(@args -- foo)\n  if empty? foo\n    echo \"error: please pass --foo <string>\"\n    exit 1\n  echo $args[@] \"$foo universe!!\"\n  echo \"HOME=$HOME\"\n\nrun $@\nEOF\n# Run it:\npowscript test.pow hello --foo powful\n# Or compile to bash:\npowscript -c test.pow > test.bash","lang":"bash","description":"Install powscript, create a simple script with argument handling, run it directly, and compile to bash.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}