{"library":"uxl-core","type":"library","category":null,"description":"Core parser, lexer, and transpiler for the UXL (User eXperience Lab / UXer eXperiment Language) framework. Current stable version 0.1.2. Designed for defining UI screens, data bindings, i18n, A/B tests, and component trees in a declarative DSL. The library provides an indentation-aware lexer (with configurable tab width and strict indentation enforcement), a Nearley-based parser that converts UXL source into an AST, and a transpiler that converts the AST into a stable contract.json format for downstream renderers. Unlike full-stack frameworks, uxl-core focuses on the parsing layer; multi-file project resolution and CLI are handled by the companion package uxl-kit. It is ESM-only and requires Node.js 18+.","language":"javascript","status":"active","version":"0.1.2","tags":["javascript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install uxl-core","imports":["import { parse } from 'uxl-core'","import { makeLexer } from 'uxl-core'","import { transpile } from 'uxl-core'"]},{"cmd":"yarn add uxl-core","imports":[]},{"cmd":"pnpm add uxl-core","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/uxl-core","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}