A small, class-based scripting language

Ghost is currently under heavy active development. While it's not feature complete yet, we have some very clear goals in mind.

  • Embeddable

    Extend and build applications in Go utilizing Ghost as your scripting language.

  • Small

    Ghost maintains a small footprint (< megabyte), making it portable and great for constrained devices.

  • Class-based

    Ghost places classes front and center, fully embracing object-oriented programming.

class CoffeeMaker {
    function __constructor(coffee) {
        this.coffee = coffee
    }

    function brew() {
        print('Enjoy your cup of ' + this.coffee)
    }
}

maker := CoffeeMaker('espresso')

maker.brew()
>>> Enjoy your cup of espresso