API for backends which produce externally usable artifacts from h_compile()
We should decide about API support for situations where a backend produces some external artifact as a result of h_compile()
which is not immediately usable with h_parse()
. We have two possible cases for this:
-
The FPGA backend will produce VHDL or Verilog output, and while downloading to an FPGA and immediately passing data through it may be possible with some toolchains, this is likely not the most typical use case.
-
Although it is anticipated that the primary use case for the LLVM backend will be as a JIT, emitting LLVM IR, bytecode or object code for later use would be easy additions to support.