mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
Add support for tuple literals
This commit is contained in:
parent
0c996eb9bc
commit
b64c02cf4a
6 changed files with 82 additions and 35 deletions
11
src/index.ts
11
src/index.ts
|
|
@ -11,15 +11,10 @@ import { exec } from "child_process";
|
|||
|
||||
const input = `
|
||||
function main() = (
|
||||
let i = 0;
|
||||
|
||||
loop (
|
||||
if i > 10 then break;
|
||||
|
||||
print("uwu\\n");
|
||||
i = i + 1;
|
||||
);
|
||||
let a = (0,);
|
||||
);
|
||||
|
||||
function uwu(): (Int, Int) = (0, 0);
|
||||
`;
|
||||
|
||||
function main() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue