Comments (2)
options remove_unused_symbols=false does that
the implication is that everything in the context would be exported, even though it may not be used
from dascript.
Thank you very much, borisbat! That does indeed work. However I just realised my question was not specific enough. I was hoping for a way of achieving this from the C++ side, without relying on anything in the script. I think I've just spotted a parameter to the compileDaScript function which does what I need - "bool exportAll=false". Setting this to true seems to export the symbols without any script commands.
Thanks so much for your help on this, and on the other problem I posted. DaScript is exactly what I've been looking for for a long time, and I'm really excited to see the things it can do!
from dascript.
Related Issues (20)
- missing _aligned_msize() for mingw HOT 2
- Static arrays copying syntax HOT 1
- Could you please provide the information how to use dascript with 3D (opengl or BGFX). I was trying to enable in cmake option BGFX, but with this I am getting error HOT 1
- Both iterators are empty after iterate via for HOT 1
- How to return an object or value from function in das script to cpp host program? HOT 1
- Possible bug in corotines macro HOT 1
- Build failure, incomplete type, GCC/Clang, Ubuntu 22.04 HOT 1
- How to hot fix the aot code? HOT 3
- Strange offsetof behaviour HOT 1
- if_ref not working for value types HOT 1
- App shouldn't crash when invoking a undefined function . HOT 8
- what is the text encoding of daScript? HOT 11
- Is the compiler documented? HOT 1
- Named arguments improvements HOT 1
- How can I use daScript with Godot? HOT 3
- get_function_by_mangled_name_hash in unnamed modules
- cmake; make install; liblib HOT 3
- Infrastructure Documentation / Meta Documentation HOT 3
- Performance comparison with Cyber HOT 1
- Error while parsing struct that not exist in json 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 dascript.