mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
globals
This commit is contained in:
parent
b779a51ef5
commit
f582a5b4c3
9 changed files with 248 additions and 85 deletions
|
|
@ -13,10 +13,10 @@ import { Crate, Built, Typecked } from "./ast";
|
|||
import { Ids } from "./utils";
|
||||
|
||||
const INPUT = `
|
||||
extern mod std;
|
||||
global HELLO: I32 = 0_I32;
|
||||
|
||||
function main() = (
|
||||
std.printlnInt(10000);
|
||||
HELLO = 1_I32;
|
||||
);
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue