Closed
Description
Thanks for paying attention to my question.
I am developing a new JIT VM, the language is like JavaScript, When i started to design JavaScript's Object
, i found it's hard to design by hand. And i think std::map
may be helpful to implement it, i just need to write its header file's IR code, and then link them while running.
But soon i found that the number of its header file' IR code is also huge, i don't know how to use it. The same question happens with std::list
object.
So, is there a easy way to use c++ object(such as std::map
, std::list
) in my new language? Using it directly while building IR? Or using ready-made IR of their header files?