parse more stuff

This commit is contained in:
nora 2023-07-23 14:39:09 +02:00
parent 4e95bc05a3
commit cc2a9aeca8
5 changed files with 206 additions and 40 deletions

View file

@ -4,9 +4,13 @@ import { parse } from "./parser";
import { printAst } from "./printer";
const input = `
function main() = (
function main(argv: [String]): uwu = (
print("Hello, world!");
"uwu";
let a: [String] = 0 in
let b = 1 in
if 0 then 0 else (
if 1 == 1 then 1 else "what"
;"meow")
);
`;