BayLang Compiler (v1.2.2) is the core compiler for the BayLang programming language, a full-stack language that automatically splits code into backend and frontend, supporting reactivity and server-side rendering. This package compiles BayLang to Node.js. Release cadence is irregular, with recent updates adding frontend component support (1.2.2), HTML template translation (1.2.1), and async/await features (1.2). Key differentiator: single codebase for both client and server with automatic platform adaptation. Designed for web application, website, and CRM development with an integrated constructor and widget ecosystem.
npm install bay-langNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles a simple BayLang function to Node.js JavaScript.
Use new Runtime from 'bay-lang' instead of separate 'bay-lang-runtime' package.
Use 'npx bay-lang version' or call programmatically.
Use import statements or dynamic import().
Replace 'fn' keyword with 'pure' in BayLang source.
Upgrade Node.js to version 14 or higher.
Run 'npm install bay-lang' and use dynamic import: 'const bayLang = await import('bay-lang');'Use 'import { compile } from 'bay-lang';' instead of default import.Check package version; upgrade to >=1.0 or use default import 'import bayLang from 'bay-lang'' then bayLang.compile.
Use target 'nodejs' for frontend or 'php' for backend.
No dependency data recorded yet.