library(Rllvm)
source("tut1.R") # create a module
cat(as(mod, "character"), file = "bob.ll")
# now create the bitcode.
#
system("make bob.bc")
m = readBitcode("bob.bc")
print(names(m))
run(m$foo, 2, 10, 3) # 2*10 + 3 = 23
unlink(c("bob.ll", "bob.bc"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.