daScript
daScript copied to clipboard
daScript - high-performance statically strong typed scripting language
How to return an object or value from function in das script to cpp host program? C++ is calling das Context like this ctx.eval(fnTest, nullptr); It is not clear how...
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...
As it stands, on arch linux, after building, I am way too in the weeds to understand how to get it to work and, trying to figure it out isn't...
I am trying the live library for hot reloading, but I found that the data is lost during runtime after reloading, how can I solve this problem, thank you.
Here's the make command's output: ``` [ 0%] Building CXX object CMakeFiles/libDasModuleStbImage.dir/modules/dasStbImage/src/dasStbImage.cpp.o [ 0%] Linking CXX static library liblibDasModuleStbImage.a [ 0%] Built target libDasModuleStbImage [ 0%] Building CXX object CMakeFiles/libDasModuleStbTrueType.dir/modules/dasStbTrueType/src/dasStbTrueType.cpp.o...
in the documentation double floating point literals are described with "d" postfix. i.e. 0.0d but in the code it causes a compilation error. the code compiles only with "lf" posfix....
``` readTime : double = timestamp ^ 20:60 - 20:60 20000: syntax error, unexpected ':', expecting
Hi! I run upon a case where you are not able to call inherited `operator .` function because of `field not found in (30503)`. I have added test case for...
Using an adapted test from https://github.com/ArashPartow/exprtk we get only a few floating point operations right: ``` var total_count = 0; var total_eq = 0; def equal(a, b) { ++total_count; if(a...
Hi, I added daScript to the [related_post_gen](https://github.com/jinyus/related_post_gen/tree/main) benchmark. https://github.com/jinyus/related_post_gen/blob/main/dascript/related.das This is my first time using daScript, so my implementation is probably very far from optimal. I couldn't find a way...