@umlay/core
v1.10.0
Published
Umlay DSL parser (Chevrotain) + normalized IR (Zod-validated) + helpers. Implements spec 1.8.0 — multi-seq blocks (RFC 0053), state-machine integration (RFCs 0050–0052), metadata bundle (RFCs 0038–0049), and the full Markdown integration stack (RFCs 0031,
Maintainers
Readme
@umlay/core
Umlay DSL のパーサと正規 IR を提供する。
提供API (Phase 1 草案)
import { parse, type IR, type Diagnostic } from '@umlay/core';
const result = parse(source);
// ^? { ir: IR; diagnostics: Diagnostic[]; ok: boolean }責務
- DSL テキスト → Tokens → CST → AST → 正規IR の 1パス変換
- 確定的IDの付与 (
sha1(namespace.name:kind)の先頭12文字) - 未解決参照・循環依存の検出
Phase 1 では 予約語を文法的に受理(実行/描画は後続フェーズ)。
