rhaiscript / lsp

Language server for Rhai.
Apache License 2.0
43 stars 4 forks source link

Module rework #67

Closed tamasfe closed 2 years ago

tamasfe commented 2 years ago

Removed the hack of parsing an import statement for injecting a module.

Instead we can use "virtual" symbols to inject modules in arbitrary scopes, this will help with injecting the global module into functions as well.

schungx commented 2 years ago

This looks wonderful.