-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
[ASK] Support export
#64
Comments
No. v8go doesn't support ES modules (it calls To elaborate: module support would be great, but it also means having to add an interface to do import resolution. It seems no one has wanted it bad enough yet. |
i have no knowledge on C/C++, i want to help you but i don't know how to start |
It's been a few months. Are you still interested? I have been extending this for my own purpose, adding features of v8 that aren't in v8go, so I'm starting to get the hang of it. None of my additions are merged to this repo yet, my code isn't properly tested. This isn't a feature I need myself yet (it will come), so it's not a priority for me to implement this particular feature. I'll probably add it eventually if no-one beats me to it. But don't expect this from me for a few months. But if you want to take a stab at it, I'll gladly help pointing in the right direction. The first step would be to identify which v8 API functionality to use. Apart from the I'll also try to give the necessary level of C++ knowledge to work with it. I'm not a hardcore C++ developer, I used it some 20 years ago. But it gives me enough knowledge to work with the code, and understand what is going on. My own fork is https://github.com/stroiman/v8go (browse the branches, it's not in the main branch. I think it's called Also look at my other project, https://github.com/stroiman/go-dom where I use it (branch name specified here). Look at the It's also worth noticing, |
@stroiman Can you give me an example? i don't understand when compare your repo to this repo |
First, be sure, you're on the right branch. My changes are in the Also be aware that we're looking into restructuring the code into multiple files, (look at the PR for this repo). So if you do start making changes, it'd be a good idea to coordinate ;) Two examples I have added in my repo are: The last requires injecting a Go-callback to C-code. It has been shoehorned into existing |
See my other note here for a list of features in my fork |
Is this fork support
export
keyword?The text was updated successfully, but these errors were encountered: