A hands-on language playground

Small language. Real website.

Tersic is a web-oriented language for pages, reusable interfaces, and typed interactive data. This little lab is built with it. Take a look around.

Tersic source → standard HTML, CSS, and generated interaction code. Tersic's approved source extension is .tersic. Current compiler project builds still discover legacy .xo files; project migration is not yet complete.

Three connected building blocks: a page, an interface, and a typed record

One lab. Three ways in.

01 / Author

A page, without the noise

Shared layouts and ordinary CSS give this landing page its shape. This page ships no JavaScript.

See the Tersic source

02 / Interact

Small controls, real state

Try a typed counter, native form controls, and a reusable preview. Every control does something you can see.

Try the components

03 / Keep

Your browser, your tasks

Add, edit, filter, and sort typed records. A shared IndexedDB store keeps the data local to this browser.

Work with local data

A little source goes a long way.

These are actual Tersic snippets used in this site. Styles live in a local CSS file; components and data definitions live in shared Tersic modules.

A purposeful link

link(/data/)[Open Data Lab]

Typed, visible state

state(count: int)[0] function(increment) { set(count)[$count + 1] } output(live: polite)[$count]

An explicit data shape

record(Task, id: string, title: string, priority: int, done: bool)