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 Loading

  1. ghost ghost Public

    The Ghost Programming Language

    Go 64 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
  • ghost Public

    The Ghost Programming Language

    ghost-language/ghost’s past year of commit activity
    Go 64 MIT 4 11 0 Updated Nov 20, 2023
  • lumen Public

    A lightweight 2D game engine for Ghost.

    ghost-language/lumen’s past year of commit activity
    Go 1 MIT 0 2 0 Updated Nov 13, 2023
  • ghostlang.org Public

    The source code of the official Ghost website.

    ghost-language/ghostlang.org’s past year of commit activity
    MDX 1 0 0 0 Updated Nov 5, 2023
  • homebrew-ghost Public

    Homebrew tap recipe for Ghost.

    ghost-language/homebrew-ghost’s past year of commit activity
    Ruby 0 0 0 0 Updated Nov 5, 2023
  • ghost-language/benchmark’s past year of commit activity
    Python 0 0 0 0 Updated Oct 27, 2023
  • website Public archive

    Official website for Ghost

    ghost-language/website’s past year of commit activity
    Vue 0 0 0 0 Updated Oct 22, 2023
  • engine Public archive

    A simple 2D game engine for Ghost.

    ghost-language/engine’s past year of commit activity
    Go 4 MIT 0 0 0 Updated Oct 3, 2023
  • .github Public
    ghost-language/.github’s past year of commit activity
    0 0 0 0 Updated Jun 10, 2022
  • vscode Public

    An extension for VS Code which provides support for Ghost

    ghost-language/vscode’s past year of commit activity
    1 MIT 0 1 0 Updated Jan 30, 2022
  • blog Public

    Blog posts found on Ghost's website

    ghost-language/blog’s past year of commit activity
    1 0 0 0 Updated Jan 26, 2022

Most used topics

Loading…