ewig-editor
Installation
SKILL.md
Ewig - Eternal Didactic Text Editor
The eternal text editor — Didactic Ersatz Emacs demonstrating immutable data-structures and the single-atom architecture.
Repository
- Source: https://github.com/bmorphism/ewig (fork of arximboldi/ewig)
- Language: C++ (immer library)
- Pattern: Persistent data structures + single atom state
Core Concept
Ewig demonstrates how to build a text editor using:
- Immutable data structures - All state changes create new versions
- Single-atom architecture - One atom holds the entire application state
- Structural sharing - Efficient memory via shared structure
// Single atom state
atom<editor_state> state;