brain app iconmacOS arm64 · Windows x86_64 — free

brain

A native code editor / IDE whose entire UI is pure Krypton. On macOS via the objk Objective-C FFI (no Obj-C / Swift source); on Windows via stdlib/gui.k over the Win32 IAT. A real Cocoa app on Mac, a real Win32 app on Windows — driven by Krypton functions. Pairs with the stem terminal.

Install via HomebrewDownload DMGView Source

A code editor, written in Krypton

File tree, tabs, live syntax highlighting and a Run button — the VS Code basics, with zero Objective-C source.

Live syntax highlighting

Colours keywords, strings and comments as you type, via an NSTextStorage delegate that is itself a Krypton function.

File tree + tabs

An NSTableView sidebar (Krypton data source) lists the folder; multi-file tabs (NSSegmentedControl) keep each document's text.

Open / Save / Run

⌘O / ⌘S, and ⌘R compiles the open file with kcc and shows the output. New / Close tab, a full Edit menu.

Integrated console

A bottom pane runs shell commands and shows their output, next to the editor.

Pure objk Cocoa

Window, text view, table data sources, menus and delegates are all Krypton funcs as Obj-C IMPs — the same objk stdlib stem is built on.

Tiny & self-contained

A single Mach-O, ad-hoc signed, no runtime dependency.

Install

macOS on Apple Silicon (Tahoe).

brew install --cask t3m3d/krypton/brain

Pure Krypton on objk — no C, no Obj-C, no Swift. Or grab the DMG.