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 Public

    The Ghost Programming Language

    Go 67 4

  2. lumen Public

    A lightweight 2D game engine for Ghost.

    Go 1

  3. ghostlang.org Public

    The source code of the official Ghost website.

    MDX 1

  4. 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

    Go 67 MIT 4 12 0 Updated Nov 20, 2023
  • lumen Public

    A lightweight 2D game engine for Ghost.

    Go 1 MIT 0 3 0 Updated Nov 13, 2023
  • ghostlang.org Public

    The source code of the official Ghost website.

    MDX 1 0 0 0 Updated Nov 5, 2023
  • homebrew-ghost Public

    Homebrew tap recipe for Ghost.

    Ruby 0 0 0 0 Updated Nov 5, 2023
  • benchmark Public
    Python 0 0 0 0 Updated Oct 27, 2023
  • website Public archive

    Official website for Ghost

    Vue 0 0 0 0 Updated Oct 22, 2023
  • engine Public archive

    A simple 2D game engine for Ghost.

    Go 4 MIT 0 0 0 Updated Oct 3, 2023
  • .github Public
    0 0 0 0 Updated Jun 10, 2022
  • vscode Public

    An extension for VS Code which provides support for Ghost

    1 MIT 0 1 0 Updated Jan 30, 2022
  • blog Public

    Blog posts found on Ghost's website

    1 0 0 0 Updated Jan 26, 2022

Top languages

Loading…

Most used topics

Loading…