i'm neck deep in writing the IMC eval code for pugs. ...
... but i imagine there's a more elegant solution out there.
t/src/compiler.t has now all the steps to run a PIR code string from C.
It's not elegant though, because there are no APIs, but it should make things running.
-jeff
leo