Skip to content

reflect error when trying to use local packages inside interpreted code #1273

Answered by mpl
omer-fast asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks @mvertes . appreciate the response. This particular line:
i.Use(stdlib.Symbols) // necessary because script depends on stdlib fmt
implies that the code needs to know in advance what the script might want to use fmt. What is the way to make this extensible? So that other libraries can be used as well

I believe the "yaegi extract" command is what you're looking for.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

mpl
Feb 1, 2021
Collaborator

You must be logged in to vote
0 replies
Answer selected by mvertes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #994 on September 30, 2021 09:25.