Morphir BSQ Transpiler

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

Transpiler from MorphirIR to Bosque source code. Version 0.1.11 targets Node >=10.0. Produces Bosque language output from Morphir intermediate representation. Minimal adoption and documentation, likely experimental or internal tool.

error Cannot find module 'morphir-bsq-transpiler'
cause Package not installed or incorrect import path.
fix
Run 'npm install morphir-bsq-transpiler' and ensure correct import.
error morphir-bsq-transpiler is not a function
cause Default import used incorrectly; likely named export.
fix
Use 'import { transpile } from 'morphir-bsq-transpiler'' instead.
gotcha Package has no README; documentation is missing. Use with caution.
fix Refer to source code or maintainer for usage.
breaking Requires Node >=10.0; may not work on older versions.
fix Upgrade Node to >=10.0.
npm install morphir-bsq-transpiler
yarn add morphir-bsq-transpiler
pnpm add morphir-bsq-transpiler

Demonstrates basic transpilation from Morphir IR to Bosque source code.

import transpile from 'morphir-bsq-transpiler';
const morphirIR = { /* IR structure */ };
const bosqueCode = transpile(morphirIR);
console.log(bosqueCode);