It's important to remove barriers for anyone wishing to explore or adopt a new language. It can be a hassle to download and set up environments locally just to mess around with things. Today, we're happy to announce that we have the first version of Ghost Play online. No downloads or local environments necessary, just dive in and code immediately!
In this post we'll show how easy it is to extend and build new functionality into Ghost by adding a new range operator `..` into the core language. In this guide, we'll be going over tokens, the lexer, parser, updating the evaluator and writing tests to ensure the implementation is stable.
We've made the first steps towards the embeddable API. Taking cues from Lua and Wren, we want the API to be simple and straight forward, allowing Ghost to truly extend your core application's capabilities.
Ghost is all about dispelling and opening black boxes; How do languages work? What process do they go through to translate the commands I type in an editor down to the ones and zeros that our machines consume? I hope to answer these questions and more through this blog as I research and learn.