BROWSER PLAYGROUND

Try a document as HTML.

This prototype runs Matra documents with the current v0.3 Core browser API and renders an HTML preview. Execution runs in a Worker and stops after 10 seconds if it does not respond.

HTML mode only. Focused SVG/MathML demos are on the examples page. Dedicated Math APIs and JavaScript module imports are out of scope.

HTML PLAYGROUND

Edit and run Matra

Execution requires an explicit action. A Worker can be stopped, and output is shown in a sandboxed iframe with scripts and network access disabled.

MATRA DOCUMENT

Matra document

Runs Matra HTML documents only. JavaScript is not executed; this is not a general-purpose security sandbox.

HTML preview

Run the document to update the HTML preview.

Prototype scope

HTML only, with explicit execution.

01

HTML documents

Uses the current Core parser, evaluator, document AST conversion, and HTML renderer.

02

Stop the Worker

The Worker is terminated by the stop button or a 10-second deadline. Syntax and runtime errors are shown on the page.

03

Explicit limitations

JavaScript, SVG, Math, copy/download, and a general-purpose sandbox are not provided. The preview restricts scripts and network access.

v0.3 plan →

Experimental

This is not a safe execution environment for untrusted code.

Worker termination and iframe restrictions are not a general-purpose security sandbox. Do not run untrusted source or input containing sensitive information.

View Node.js examples