reticulate::py_run_file("run_bc.py")
func_ptr_val <- reticulate::py_eval("str(func_ptr)")
ptr <- frast::get_jit_fn(func_ptr_val)
class(ptr) <- "NativeSymbol"
RFI::.ModernFortran(ptr, array(1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.