Ghost is a small, object-oriented, embeddable toy scripting language. While object-oriented, Ghost also supports procedural and functional programming styles as well.
Ghost is dynamically typed, runs by a tree-walking interpreter, and has automatic memory management thanks to its implementation through the Go programming language.
class CoffeeMaker { function constructor(coffee) { this.coffee = coffee } function brew() { print('Enjoy your cup of %s'.format(this.coffee)) } } maker = CoffeeMaker.new('espresso') maker.brew()Currently in beta, vetting out the language and seeing how it feels writing/running. Major changes are still possible at this stage.
You will find robust, user friendly, and updated documentation on our website.