website is under construction
🌸Currently in Development

A small, object-oriented programming language that's a joy to use.

  • Small

    Ghost maintains a small footprint, making it portable and great for single-board computers.

  • Embeddable

    Extend and build applications in Go utilizing Ghost as your scripting language.

  • Object-oriented

    In Ghost's little universe, the atoms that make up all matter are objects, fully equipped with their own methods and properties.

Install on macOS

$ brew tap ghost-language/tap$ brew install --cask ghost-language/tap/ghost

On Linux or Windows? Every build is on the download page.

import Graph from "graph"
import shortestPath from "dijkstra"

network = new Graph()

network.connect("depot", "market", 2)
network.connect("depot", "harbor", 7)
network.connect("market", "harbor", 3)
network.connect("market", "airfield", 8)
network.connect("harbor", "airfield", 4)

route = shortestPath(network, "depot", "airfield")

if (route == null) {
  console.log("no route")
} else {
  console.log(`route: ${route.path.join(" -> ")}`)
  console.log(`distance: ${route.distance}`)
}

// >> route: depot -> market -> harbor -> airfield
// >> distance: 9

A small, object-oriented scripting language.

From the blog

Catching Up: Ghost 1.0 And A Game Engine Called Lumen

It has been a while. Ghost now has a written specification and a 1.0 beta, the language picked up template literals, real classes, and errors that teach, and there is a whole 2D game engine we never got around to announcing.

v0.28.0 Released

A new pre-release is available for download. Check out the changelog to see what's new.

v0.27.0 Released

A new pre-release is available for download. Check out the changelog to see what's new.

v0.26.0 Released

A new pre-release is available for download. Check out the changelog to see what's new.

v0.25.0 Released

A new pre-release is available for download. Check out the changelog to see what's new.

v0.24.0 Released

A new pre-release is available for download. Check out the changelog to see what's new.