@gia-language/gia-wasm
v0.1.0
Published
WebAssembly bindings for the Gia compiler and runtime.
Maintainers
Readme
@gia-language/gia-wasm
Browser-ready WebAssembly bindings for the Gia compiler and runtime.
import init, { run_project } from "@gia-language/gia-wasm";
await init();
const output = run_project({
files: [
{
path: "main.gia",
source: "fn main() -> u64 { 42 }",
},
],
});The default project root is /project/src, and the default entry file is /project/src/main.gia.
