ETAFEmacs Text Application Framework

Build complete text applications in Emacs

with a web-style model: declarative components, cascade styling and incremental updates.

NetEase Cloud Music player in Emacs
01

Declarative components

Compose reusable Components with named bindings and reactive state; the runtime owns re-rendering, identity and lifecycle.

02

Cascade and computed styles

Style subjects through selectors, specificity and cascade, and read the computed result back instead of setting faces by hand.

03

Box, Flex and Grid layout

Lay text out with the box model, normal flow, flex and grid, measured down to the pixel.

04

Incremental updates

Retained rendering publishes only what changed, so an update costs what it changed instead of a full redraw.

Applications

Built with ETAF

Games
Verdant solitaire in Emacs
etaf-solitaireVerdant, K+ Klondike solitaire
Chu He xiangqi
etaf-xiangqiChinese chess on a native vector board
Iron Tide tank battle
etaf-tanksIron Tide, real-time tank battle
Salvage Station game
etaf-salvageSalvage Station, real-time exploration

ETAF Reference Manual

This manual documents every public interface of ecss, ekp, ebox, etaf, etaf-ui and etaf-db, with the mechanisms behind them. Read the Introduction first, or jump to a reference.

  1. Introduction
  2. Style Properties
  3. UI Overview
  4. Glossary
  5. Symbol Index