/bash-oop

Object oriented scripting with a bash set of functions

Primary LanguageShellMIT LicenseMIT

bash-oop

This project is a kind of proof of concept and should not be used in a proper project. When oop.bash is included, it gives your script access to several keywords: class, delete… which can be used to declare classes (with untyped fields), declare instances of those classes, remove instances from the AST etc, pretty much like any simple object-oriented programming language.

Read oop_test.bash for a concrete example of what kind of syntax is available. The mangling system is breifly explained in oop.bash.