Josh Goebel
Josh Goebel
> alternatively, we can pass an entry filled with NULLs at last. This is how the current structures are setup in the CLI. I'd suggest also adding a fifth field:...
> We'll still need one special case handling in bindForeignMethodFn - the Module.importNative() function itself... We discussed this on channel and it seems this complexity may not be necessary. We...
> I'll do that in some hours. Don't have a mind for that now, sorry. No rush! > I can do that, through it's definitely not something to push into...
> It also has some design difficulties (for example, exposing libuv API). But yours is good as a PoC. _It doesn't need to be exposed_ (as in foreign), all the...
@ChayimFriedman2 It was all much easier than I thought (thanks to premake). I have the **whole** stack working. I'm loading a compiled dynamic library into the CLI dynamically. And if...
Ok, I removed all the work I was doing on custom resolvers and left just the binary library stuff: https://github.com/joshgoebel/wren-cli/tree/binary-libs The key portions of interest in `vm.c`: ```js if (pathIncludesLibrary(module))...
Following a long conversation over on wren-lang/wren#868 I've ported @mhermier amazing [mirror module work](https://github.com/mhermier/wren/commits/mirror) into my proof of concept `wren-essentials` dynamic binary library. Mostly I just wanted to get a...
I do wonder if the "module registry" data-structure approach used in the CLI or more direct `bindForeignMethodFn` and `config.bindForeignClassFn` API is better... context: porting libraries that need to also live...
Is there a way to reproduce the test case on OS X which has no `/dev/full`?
In every case I've tried the shell prints an error: ``` % ./bin/wren_cli test.wren > x fish: An error occurred while redirecting file 'x' open: Permission denied ```