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

Comments

Projects
None yet
1 participant
@crawshaw
Member

crawshaw commented Oct 29, 2017

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