Comments (5)
Can you share the source so I can try to reproduce it?
from txiki.js.
Uploaded an archive which contains both the sources and a precompiled binary if you need it.
Repro:
# make -C gen
# tjs test.js
SyntaxError: unexpected token in expression: ''
Repo source: https://github.com/mono/CppSharp/tree/master/tests2
from txiki.js.
hi !
I can also reproduce this issue, with the same error message as above.
If you need, I have a few minimal .so files around for testing/debuging.
Thanks for the fantastic work on Txiki btw :)
from txiki.js.
Ah wait, I hadn't noticed this was a dynamic library. txiki.js doesn't currently support that. See the module loader:
Line 71 in 27457e6
I don't remember why I removed support for it, but adding it back should be simple enough.
from txiki.js.
I'm going to close this as wontfix
for now. I'd like to give FFI a go before supporting native modules, which can get complex because they may want to access also the underlying libraries we use.
from txiki.js.
Related Issues (20)
- Windows: Date() ignores timezome HOT 2
- Add top level await support to REPL HOT 1
- Consolidate EOF marker
- Implement history support in the REPL
- Implement localStorage and sessionStorage HOT 1
- Build problems on OpenBSD HOT 5
- Add typescript declaration file ? HOT 2
- Add mbedtls to support https & crypto HOT 12
- fetch() from browser net::ERR_INVALID_HTTP_RESPONSE when testing tjs.listen() HOT 5
- utils.js is not found in build HOT 2
- v23.1.0 has unpredictable segfaults when running invalid JS files HOT 3
- Can not build in MAC HOT 4
- Support Uint32Array, other TypedArray's and ArrayBuffer parameter for stdin.read() (StdioInputStream)) HOT 8
- Add timeout for http imports
- Build problems on macOS 11.2.3 HOT 5
- Could this be used on an e.g. Pico Pi? HOT 2
- support indexedDB implement HOT 7
- [Question] Making JS Files a Built-in module HOT 6
- FFI does not support complex structures
- @types packet for txikijs HOT 3
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 txiki.js.