「‍」 Lingenic

「‍」 Lingenic HyperMedia In Development

Interactive documents — rich content, links, input

Lingenic HyperMedia is a full implementation of the Compose standard, currently in development. It renders .compose documents as interactive hypermedia — rich typography, mathematics, graphics, with navigation and input.

Vision

Documents as the interface. Rich typography, mathematics, graphics. Interactive forms and navigation. Same source renders to screen, PDF, and print.

AspectCapability
RenderingFull typesetting — fonts, math, tables, graphics
NavigationLinks between documents, history, bookmarks
Interaction.when-click, .when-hover for responsive UI
Input.read with pattern matching for forms
Output parityTerminal, PDF, HTML — same document

Comparison

SystemSimilarityDifference
HyperCardDocuments as applicationsCompose is text-native, not card-based
Web BrowserNavigation, links, formsDocument-centric, no DOM/CSS/JS complexity
PDF ViewerRich typography, portableCompose is truly interactive, not static
LynxText-mode, lightweightCompose supports rich media too

Architecture

┌─────────────────────────────────────────────────────────┐
│                   Lingenic HyperMedia                   │
├─────────────────────────────────────────────────────────┤
│                                                         │
│   .compose ──→ Processor ──→ .composed ──→ Renderer     │
│                    │             │           │          │
│              ┌─────┴─────┐  ┌────┴────┐  ┌───┴────┐     │
│              │ Variables │  │ Static  │  │Terminal│     │
│              │ Conditns  │  │ Content │  │ PDF    │     │
│              │ Includes  │  │ + Links │  │ HTML   │     │
│              └───────────┘  └─────────┘  └────────┘     │
│                                                         │
│   Input ←── .read ←── Pattern Matching                  │
│   Events ←── .when-click, .when-hover                   │
│   Navigation ←── links, history, .go-to                 │
│                                                         │
└─────────────────────────────────────────────────────────┘

Components

Parser

Reads .compose syntax — commands, variables, patterns, content.

Processor

Resolves dynamic elements: variables, conditionals, loops, includes, patterns. Outputs .composed (static content, active links).

Renderer

Typesets content to output: terminal (text or GUI), PDF, HTML. Handles fonts, math layout, graphics, tables.

Input Handler

Processes .read commands with pattern matching. Validates input, captures to variables.

Event Handler

Responds to .when-click and .when-hover. Updates state, triggers navigation, modifies display.

Navigator

Manages document links, history stack, bookmarks. Handles internal refs and external URLs.

Modes

ModeOutputUse Case
InteractiveTerminal (text or GUI)Browsing, forms, navigation
ExportPDF / HTMLPrint, distribution, archival

Use Cases

Document Networks — Personal wikis, documentation systems, knowledge bases linked together.

Interactive Manuals — Software documentation with working examples, validated input, guided tutorials.

Forms and Wizards — Data collection with pattern validation, branching logic, immediate feedback.

Educational Materials — Language learning with parsed input, math tutoring with rendered equations.

Status

Lingenic HyperMedia is in early development. Core components:

ComponentStatus
ParserImplemented (Rust)
ProcessorPartial
PDF RendererImplemented (Rust)
Terminal RendererPlanned
Input HandlerPlanned
Event HandlerPlanned
NavigatorPlanned

The Idea

Compose started as typesetting. Through orthogonal design it became text processing, then interactive documents, then HyperMedia.

HyperMedia is the natural endpoint: a document-centric environment where content, computation, and interaction unify.

Not an app platform. Not a web page. HyperMedia — where the document is the application.