@bizyaml/parser
v1.0.3
Published
Core AST Parser and Compiler for BizYAML
Downloads
32
Maintainers
Readme
@bizyaml/parser
The core AST Parser and Compiler for the BizYAML ecosystem.
This zero-dependency package acts as the Single Source of Truth for BizYAML. It parses raw YAML files, merges modular configurations, desugars shorthands, performs rigorous cross-reference validations (Semantic AST Validation), and finally outputs strict Intermediate Representation (IR) JSON.
Usage
import { compile } from '@bizyaml/parser';
// Analyzes the directory, throwing precise errors if the YAML breaks specifications
const results = compile('./path/to/my-domain');
console.log(results); // Array of IrEntityFor full documentation and rules, visit the BizYAML Repository.
