Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default scope function #2808

Merged
merged 1 commit into from
Jul 13, 2017

Commits on Jul 11, 2017

  1. Default scope function

    `Paddle` manages Scope as programming language's scope.  It just a
    thread-local stack of Scope. Top of that stack is current scope, the
    bottom of that stack is all scopes' parent.
    
    Invoking `create_var/get_var`  can `create/get` variable in current
    scope. Invoking `enter_local_scope/leave_local_scope` can create or
    destroy local scope.
    
    A `scoped_function` will take a `function` as input. That function will
    be invoked in a new local scope.
    reyoung committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    d027f47 View commit details
    Browse the repository at this point in the history