Skip to main content

Module env

Module env 

Source
Expand description

Environment for JSE execution with scope chaining.

Following Python’s env.py pattern:

  • env has nullable parent field for scope chain lookup
  • env provides register() method for def/defn
  • env provides load() method for functor modules
  • env.eval() delegates to ast.apply() (following jisp pattern)

Structs§

Env
Environment for JSE execution with scope chaining

Type Aliases§

Functor
Functor type: function that takes env and arguments, returns Value