Skip to content
@rdx-lang

rdx-lang

RDX (Reactive Document eXpressions)

A strictly typed, declarative document format for rich, interactive content.

RDX extends CommonMark with components, typed attributes, and structured data — without executing code. Documents are pure data: parse them into a typed AST from Rust, Node.js, Python, or the browser.

Why RDX

  • No runtime, no execution — Components describe what to render, never how. No import, no eval(), no JavaScript in your documents.
  • Runs anywhere — One parser, every platform. Native bindings for Rust, Node.js, and Python. WebAssembly for browsers and edge runtimes.
  • Schema validation — Define what components exist, what props they accept, and catch errors at build time — not in production.
  • Formally specified — The specification defines every construct and its AST output. Predictable, deterministic, no implementation-defined behavior.
  • AI-ready — Clean text extraction for RAG pipelines, embeddings, and search indexing. No JSX artifacts polluting your vectors.

Quick look

---
title: Getting Started
---

# {$title}

<Notice type="warning" dismissible>
  This API is in beta. See the [migration guide](/docs/migrate).
</Notice>

Get started

cargo add rdx-parser           # Rust
pip install rdx-parser         # Python
npm install @rdx-lang/node     # Node.js
npm install @rdx-lang/wasm     # Browser / Deno / Edge
cargo install rdx-cli          # CLI

Repositories

Repo Description
rdx Parser, schema, transforms, bindings (Rust, Node, Python, WASM), and CLI
rdx-js TypeScript types, JS transform pipeline, and JS-native extensions
tree-sitter-rdx Syntax highlighting for Neovim, Helix, Zed

Links

Pinned Loading

  1. rdx rdx Public

    Official parser and toolchain for RDX (Reactive Document eXpressions) — a strictly typed, declarative document format built on CommonMark.

    Rust 3

  2. rdx-js rdx-js Public

    JavaScript/TypeScript packages for RDX (Reactive Document eXpressions)

    TypeScript 1

  3. tree-sitter-rdx tree-sitter-rdx Public

    Tree-sitter grammar for RDX (Reactive Document eXpressions)

    C

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…