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

feat: Let runtimes handle imports #349

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

marc2332
Copy link
Contributor

@marc2332 marc2332 commented Jul 25, 2024

DEPENDS ON #348 (sorry 💀 )

You can see the changes from 36d2826 forward

@marc2332 marc2332 changed the title feat: New type of builtin functions with storage feat: Let runtimes handle imports Jul 25, 2024
///
/// Note: This will panic if not implemented manually.
fn import_module(&self, _import: &ast::ImportDeclaration<'_>, _agent: &mut Agent) {
unimplemented!()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably receive an &mut Executable or return something so the imported values can get injected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant