Bash++: Bash with classes
Find a file
rail5 58893c4bf6
Some checks are pending
Deploy Jekyll with GitHub Pages dependencies preinstalled / build (push) Waiting to run
Deploy Jekyll with GitHub Pages dependencies preinstalled / deploy (push) Blocked by required conditions
Starting work on the code generator
2025-01-13 22:04:32 +08:00
.github/workflows
antlr Starting work on the code generator 2025-01-13 22:04:32 +08:00
scripts Removed needless comment 2025-01-13 18:29:23 +08:00
test
wiki Trying to shrink the width of the readme code block 2025-01-10 21:54:52 +08:00
LICENSE
README.md

Bash++

Bash with classes

@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 designed 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

More documentation is available on the website.