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 ghost Public

    The Ghost Programming Language

    Go 65 4

  2. lumen lumen Public

    A lightweight 2D game engine for Ghost.

    Go 1

  3. ghostlang.org ghostlang.org Public

    The source code of the official Ghost website.

    MDX 1

  4. vscode vscode Public

    An extension for VS Code which provides support for Ghost

    1

Repositories

Showing 10 of 17 repositories

Top languages

Loading…

Most used topics

Loading…