Boris Batkin
Boris Batkin
what is done above is that JSON is loaded into temp array, which is then moved to heap. that way we get pointers to individual posts and those are safe....
There is tutorial02aot in the examples on how to setup CMAKE project with AOT.
U'll need some sort of main.cpp from das, on top of related_aot.cpp. the aot generates custom daScript executable, which is used to run it. CodeOfPolicies aot field should be set...
Okie. Once I have a stopping point I'll make a PR.
There is cmake install. I've tested them on win64 and mac, I'm assuming its going to work fine on linux. I got no preferences on how the project libraries are...
CMake has options of conditional compilation per platform. Mainly IF(WIN32), IF(APPLE) etc. So I suspect project files can be modified to do different things on linux. I'm not sure when...
compiler folded all expressions during the compilation time. add "options log" to see results. making function with arguments of x, y, z, w will work around the issue.
Keep us posted :)
its an interesting case. i need to think about it - because both behaviors for local refs are viable
the more i think about it, the more i think its correct behavior. we can add is_ref_variable if we ever encounter a case, where this distinction is necessary. so far...