Comments (7)
The issue is definitely with Documentarian. @sogaiu was kind enough to test it with some other packages that use native libraries and found the problem there, too. I think the issue might be in how I've got the binary of Documentarian building but I'll need to take a closer look.
from documentarian.
Is this a private module?
from documentarian.
I don't know exactly what you mean, but when it's installed, it's importable with a normal (import jnj-primitives)
. So - no, I don't think so?
from documentarian.
Oh, I meant is the code for the module publicly available? I had a quick look using GitHub and Google but couldn't find it.
from documentarian.
ah! you can clone or browse here: https://git.sr.ht/~subsetpark/jnj
from documentarian.
Hmmm. I don't have J installed so building fails but I wonder looking at the stacktrace if the problem isn't occurring because of the difference between import
and require
. If you use require
at the REPL does it work fine?
from documentarian.
@subsetpark I realise this took a very long time but I think Documentarian can now load native modules. I don't know if you still have a reason to use it but if you try it out, let me know if it's working for you. If you're curious, my solution was to add a custom module path that checks the build/
folder for .so
objects that match the name given in the declare-native
form.
from documentarian.
Related Issues (7)
- Documentarian should say it requires Janet 1.9 HOT 2
- Feature idea: specify JANET_PATH on command line HOT 4
- Native module problem HOT 2
- error in binding-details HOT 4
- Inconsistency in markdown generation between project and definition docstrings HOT 2
- Support C libraries using JANET_FN and JANET_REG macros HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documentarian.