pub fn compile(
source: &str,
filename: &str,
) -> Result<String, Vec<CompileError>>Expand description
Compile a single Bynk source string to a TypeScript string.
This entry point parses the input as a self-contained, single-file commons
with no uses against other commons. Use compile_project for
multi-file projects or for any source that declares uses.
filename is used only for diagnostic rendering.