Implement aggregate locals

This commit is contained in:
nora 2023-07-30 00:03:18 +02:00
parent 7c88a3513e
commit 1d9ab31baf
2 changed files with 35 additions and 31 deletions

View file

@ -12,10 +12,12 @@ import { exec } from "child_process";
const input = `
function main() = uwu(10);
function ___print() = ;
function print_a(
a: String,
): String = a;
function uwu(a: Int) = if a != 0 then (
print("uwu\n");
print(print_a("uwu\n"));
uwu(a - 1);
);
`;