Skip to content

Global variables #20

@jbunke

Description

@jbunke

Something like this...

global {
    ~ int CONST = 10;
    int example_sum = helper(1, 2);
}

() {
    print(CONST);
    // ...
}

helper(int a, int b -> int) { /* ... */ }

Metadata

Metadata

Assignees

Labels

lang-designLanguage design and grammar

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions