Is it possible to consult the Bucklescript compiler to ask for the generated javascript code as a string? Some like the following code from javascript:
let obj = { f: function f() { let stuff = “hi”; console.log(“hi”); } };
let code = obj.f.toString();
console.log(code);