a220815bd61dc1abe6aa6d920b7bd2e75b996854
The `Binder` and `FunctionCompiler` initialization has been refactored to accept initial scopes and slot counts. This allows for more flexible management of the compiler's state, particularly for the root scope. The `bind_root` function now returns the final scopes and slot count of the root function compiler, enabling the `Environment` to update its state with these new bindings. The global variable handling has been integrated into the scope management, removing the direct reliance on a shared `HashMap` for globals. This promotes a more consistent approach to symbol resolution.
Description
No description provided
Languages
Rust
100%