mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
parse more stuff
This commit is contained in:
parent
4e95bc05a3
commit
cc2a9aeca8
5 changed files with 206 additions and 40 deletions
|
|
@ -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")
|
||||
);
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue