Emacs Lisp is totally usable as a minimal scripting language outside of the regular Emacs context.
You can compile Emacs without any GUI toolkit support and run it heedlessly as a lisp interpreter. You can even make Emacs packages behave like CLIs with a few lines of code.