AnglerFrame

AnglerFrame
Login

A Swift based clone of Antirez's Kilo editor, built while following along with Paige's tutorial.

Actual goals: Learning about things like termios, raw-mode terminal UI's, syscalls with Swift and basic text editing operations.


Building

Shouldn't need anything but modern Swift 5.9 from Xcode on Sonoma or higher. Specifically swift --version returns this for me on an M1 Air:

swift-driver version: 1.87.1 Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
Target: arm64-apple-macosx14.0

To run AnglerFrame as a debug build:

swift run AnglerFrameCli

To run the tests:

swift test

To build and preview the documentation:

swift package --disable-sandbox preview-documentation --target AnglerFrame


Some helpful UTF-8 files to test with: https://www.cl.cam.ac.uk/~mgk25/ucs/examples/