Bash++
@class Bashpp {
  @public author="Andrew S. Rightenburg"
  @public source="https://github.com/rail5/bashpp"
  @public license="GNU GPL v3"

  @public @method printInfo {
    echo "Bash++ is a superset of Bash that adds support for classes and objects."
    echo "It's meant to be a simple way to add object-orientation to Bash scripts."
    echo "Author: @this.author"
    echo "Source: @this.source"
    echo "License: @this.license"
  }
}

@Bashpp myBashpp
@myBashpp.printInfo

Documentation

License

GNU GPL v3
The Bash++ language and compiler are licensed under the GNU General Public License v3.

This does not affect any code you write in Bash++ – only the Bash++ language and compiler themselves. You are perfectly free to use Bash++ to write software under a different license.

Documentation License

CC-BY-SA
This documentation is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license.

You are free to:

  • Share – copy and redistribute the material in any medium or format for any purpose, even commercially

  • Adapt – remix, transform, and build upon the material for any purpose, even commercially.

Under the following terms:

  • Attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

  • ShareAlike – If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.