mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-16 09:25:03 +01:00
Add I32, mirroring Wasm i32
This commit is contained in:
parent
89dbb50add
commit
50e82066c9
5 changed files with 28 additions and 3 deletions
|
|
@ -10,11 +10,15 @@ import fs from "fs";
|
|||
import { exec } from "child_process";
|
||||
|
||||
const input = `
|
||||
// import "wasi_snapshot_preview1" "fd_write"(a: I32, b: I32, c: I32, d: I32): I32;
|
||||
|
||||
function main() = (
|
||||
loop (no(break););
|
||||
uwu(10);
|
||||
);
|
||||
|
||||
function meow(a: I32): I32 = a;
|
||||
|
||||
function no(a: !): String = a;
|
||||
|
||||
function uwu(a: Int) = if a != 0 then (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue