Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a lightweight language to fix what frustrates me about JavaScript

Описание и применение

Создана легковесный язык Oriented‑Direct, который компилируется в чистый JavaScript без внешних зависимостей, устраняет типичные проблемы JavaScript и упрощает работу с DOM, предлагая zero‑config инструментальную цепочку.

Задача

Frontend developers face a trade‑off: vanilla JavaScript is verbose and error‑prone, while TypeScript adds heavy tooling and still requires boilerplate for DOM manipulation.

Результат

The language reduces token usage by ~33% for AI agents, eliminates variable confusion, enforces strict equality, and removes the need for external tooling, enabling instant development with a lightweight, zero‑config setup.

Рабочий процесс

  • 1. Install Oriented‑Direct via npx or npm global install.
  • 2. Create .osp files using the concise syntax (e.g., val, @find, @on).
  • 3. Run the dev server with npx @xvdxlinux/oriented-direct dev for live reload.
  • 4. Build production bundles with the bundled compiler; no external dependencies are needed.

Доказательства

It comes with its own bundler, dev server with live reload, and Base64‑VLQ source map generator in ~5K lines of pure JavaScript.

Источник

Because the syntax is so concise, it also cuts down token usage by ~33% when feeding code to AI agents and LLMs.

Источник

  • Дата записи: 2026-09-08T11:01:15.940Z