Skip to content
@ghost-language

Ghost

The Ghost programming language; a small, class-based scripting language.

The Ghost Programming Language

Test

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()

Status

Currently in beta, vetting out the language and seeing how it feels writing/running. Major changes are still possible at this stage.

Documentation

You will find robust, user friendly, and updated documentation on our website.

Pinned

  1. ghost Public

    The Ghost Programming Language

    Go 45 3

  2. engine Public

    A simple 2D game engine for Ghost

    Go 2 1

  3. docs Public

    Documentation for Ghost

    1

  4. website Public

    Official website for Ghost

    Vue 1

  5. vscode Public

    An extension for VS Code which provides support for Ghost

    1

  6. art Public

    Logo and other artwork for Ghost

    1

Repositories

Top languages

Loading…

Most used topics

Loading…