daScript
daScript copied to clipboard
Can there be an explination in the doc on how to install and execute scripts.
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 justifying the time. I don't think it would be very hard to do some bash scripting; hell, if you explain it to me I'll write the bash script that compiles and install the scripts.
There is some bash script already generate_gcc_linux.sh it's not good enough?
It generates the scripts to execute, but how the hell do I run a .das when there is no explanation of it works? it doesn't go in /usr/bin or wherever your ${PATH} is. To execute a python script, you type python x.py/pyx, for das you do ??? do you do daScript xyz.das? no, that doesn't work. Do you convert it to C then run it with daScript? and so on.
If you peek inside CMakeLists.txt
you'll find all the executables it compiles (look for add_executable
)
It looks like ./daScript foo.das
is what you need to run stuff.
Reading or just try building and executing the examples/tutorial code is very helpful, and you can change the das from the tutorials to have some fun.
Keep in mind i wrote this a long time ago, I could probably get it working now.
This kind of stuff should be in the docs though, at some point.