transpiler package to replace eval package

This commit is contained in:
Felix Roos 2022-11-06 23:15:01 +01:00
parent fada7fc9cc
commit 9b2899c8fb
7 changed files with 265 additions and 90 deletions

View file

@ -0,0 +1,5 @@
import { evaluate as _evaluate } from '@strudel.cycles/core';
import { transpiler } from './transpiler.mjs';
export * from './transpiler.mjs';
export const evaluate = (code) => _evaluate(code, transpiler);