Shoresh Compiler

raw JSON →
1.1.0 verified Fri May 01 auth: no javascript

Shoresh language compiler (v1.1.0). A DSL compiler for domain-specific language processing. Minimal documentation, single-version releases. Differentiators: lightweight, no dependencies, simple API. Likely experimental/unstable.

error package not found: shoc-shoresh-compiler
cause Typo or misspelling in package name.
fix
Double-check package name: shoc-shoresh-compiler
gotcha No README available; API surface unknown. Use at own risk.
fix Inspect source code or wait for documentation update.
npm install shoc-shoresh-compiler
yarn add shoc-shoresh-compiler
pnpm add shoc-shoresh-compiler

Demonstrates basic compilation workflow with error handling.

import { compile } from 'shoc-shoresh-compiler';
const source = 'let x = 42';
try {
  const result = compile(source);
  console.log(result);
} catch (e) {
  console.error(e);
}