Skip to content

[OSL] Block Scoping #206

@Mistium

Description

@Mistium
// "climb scope" / "default scope"
// this will climb the scope stack till it finds the variable
// this is slower if theres like a shit ton of scopes
~ <
  hello = 5
  ~ <
    log hello // 5
  >
>

// "strict scope".
// this is just so it wont climb up the scopes which can be a smol speed bonus
// and can help with readability
@ <
  hello = 5
  @ <
    log hello // null
  >
>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions