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

Go generating backend #5

Open
crawshaw opened this issue Oct 29, 2017 · 0 comments
Open

Go generating backend #5

crawshaw opened this issue Oct 29, 2017 · 0 comments

Comments

@crawshaw
Copy link
Member

Now that plugin.Open works for importing Go packages, we can implement importing Neugram packages with a Go generating backend.

That is, when we see import 'mypkg.ng', create a Go package from mypkg.ng, build it, and then use plugin.Open.

This works around the fact that Go's reflect package cannot yet create methods, so we get good methodik support in imported packages.

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

No branches or pull requests

1 participant