importc in NimVM

2023-03-02 Thread jmgomez
Yes, I was looking at it. Beef pointed me on right direction on Discord Thanks!

importc in NimVM

2023-03-02 Thread Araq
There is some experimental support for importing of native functions inside the VM but there is no way to make it import C++ methods. You can extend the VM though with custom native code that can call into C++. Look at "tests/compilerapi/tcompilerapi.nim" if you haven't already.

importc in NimVM

2023-03-02 Thread jmgomez
Hey guys, Im considering integrating NimScript in NimForUE to improve the workflow and potentially build a REPL on top of it. I was able to make it run and to import modules. However, I fail to see how can load it with an importcpp function. Any idea where to look? Did a quick look at `nimeval.