Open source · v0.x · Early stage

ONE FILE.
FULL STACK. ZERO SETUP.

Yr is a DSL (domain-specific language) that lets HTML, CSS, JavaScript, Python, and Bash coexist in a single file — organized by simple section markers. No new syntax to learn. Just structure.

Honest: Yr is early stage. No variables or loops yet — it's a structured markup DSL, not a general-purpose language. What it does well: unify your project files into one readable format. Curious? Try it below.
Try it now → Docs ★ GitHub

// What is Yr

NOT A LANGUAGE
YOU HAVE TO LEARN.

Think of Yr as a way to organize a project file. You still write HTML, CSS, JS, Python, and Bash — you just write them all in the same place, separated by simple markers.

><

HTML BLOCK

Use >< to open an HTML section. Write normal HTML inside — or use the _ selector to place elements and wrappers.

##

CSS BLOCK

Use ## to open a CSS section. Write normal CSS. Gets injected into <style> before </head>

@@

FRONTEND JS

Use @@ for client-side JavaScript. Gets wrapped in a <script> tag after </body>

&&

BACKEND JS

Use && for server-side Node.js logic. Compiled as app.js

**

DEVOPS

Use ** for build, serve, and deploy scripts. Bash or JS. The Yrkit CI/CD pipeline reads these sections directly.

!!

IMPORTS

Use !! to import other files. Build a library of reusable wrappers and components across projects.


// Try it

SEE IT
RUNNING.

This is a live Yr editor — the same engine that runs inside Yrkit. Edit the code on the left and see the result on the right.

hello.yr — live preview Open in full IDE →

// Syntax at a glance

THE MARKERS.
THAT'S IT.

Yr's entire syntax is a set of section markers. Everything inside a section is the language you already know.

><
BODY
HTML inside <body>. Use _ to place elements.
>>
HEAD
Content inside <head>. Meta tags, links, etc.
##
CSS
Standard CSS. Injected as <style> before </head>.
@@
FRONTEND JS
Client-side JavaScript. Runs in the browser.
&&
BACKEND JS
Server-side Node.js. Compiled as app.js.
**
DEVOPS
Build, serve, deploy scripts. Bash or JS stages.
!!
IMPORT
Import other
++
WRAPPER
Define a reusable wrapper component with a slot for children.
--
NPM
Install npm dependencies at build time.
Full documentation →

// Built with Yr

WORKS IN
PRODUCTION.

Yrkit — a cloud IDE with visual builder, CI/CD pipeline, database manager, and AI copilot — is built entirely in Yr. It's the largest project running on the language today, and it works in production.

See Yrkit →

// Open source

FREE TO USE.
FREE TO STUDY.

Language

YR

The language itself. Parser, compiler, and runtime. MIT-compatible for personal and commercial use.

★ GitHub →
CLI

YR-CLI

Command line tools: build, serve, deploy. Install globally via npm and run Yr projects anywhere.

npm →
Package

@YR-LANG/YR

The npm package. Use Yr programmatically in your Node.js projects or integrate it into your own tools.

npm →

SUPPORT
THE PROJECT.

Yr is a solo developer project. If it's useful to you, consider supporting its development — it helps keep the infrastructure running and the language moving forward.

★ Sponsor on GitHub Donate via Card Pix

Donations do not grant ownership, governance rights, or special influence over the Yr language or ecosystem.