/deno-bash

bash interpreter

Primary LanguageTypeScriptMIT LicenseMIT

Denash / Deno Bash

A silly little bash interpreter written in TypeScript for Deno.

Run like so:

deno run --allow-read https://deno.land/x/denash/mod.ts my-script.sh

TODO

  • shorthand conditionals like [ a = b ] && echo foo
  • handle error codes from external commands and set -e
  • arrays
  • switch case statement
  • more builtins
  • file utilities / globbing