# turbo-moonbit A Turbo C-style editor for MoonBit, written in Go. Built on **[turbo-core](https://rickub.com/turbo-editors/turbo-core)**, the library every Turbo editor shares. What is in this repository is the command, the profile that says this editor is for MoonBit, and the MoonBit scanner — about eleven hundred lines, comments and all. Everything else lives in the library. A full-screen terminal IDE with the Borland furniture — a menu bar with hot keys, movable windows that cast shadows, modal dialogs, a clickable status bar — and the things a MoonBit editor needs: syntax colouring written against the language's published lexical grammar, loadable colour themes, completion and diagnostics from `moon-lsp`, shell windows, per-project settings, a project tree, snippets, and the `moon` toolchain a menu away. ``` File Edit Search Run Code Options Window Snippets MoonBit Help ╔═[x]═════════════════════════════ main.mbt ════════════════════════════════1═[■]╗ ║ 1 ///| ▲║ ║ 2 struct Greeting { ▓║ ║ 3 name : String ░║ ║ 4 times : Int ░║ ║ 5 } derive(Debug) ░║ ║ 6 ░║ ║ 7 ///| ░║ ║ 8 fn greet(g : Greeting) -> Unit { ░║ ║ 9 for i in 0..