If possible, I'd like to pre-compile frawk scripts to binary executables. This would make it easier for me to distribute the scripts I've written to places where it is difficult for me to get frawk installed. I've previously used awka, but it can be a little tough to get compiling and doesn't have as many nice features as frawk.
I've used frawk --dump-llvm to get LLVM IR for a given awk script, but I'm not sure if there's an easy way to get from here to a binary I can distribute - it looks like the generated IR still relies on the frawk runtime.
If possible, I'd like to pre-compile frawk scripts to binary executables. This would make it easier for me to distribute the scripts I've written to places where it is difficult for me to get frawk installed. I've previously used awka, but it can be a little tough to get compiling and doesn't have as many nice features as frawk.
I've used
frawk --dump-llvmto get LLVM IR for a given awk script, but I'm not sure if there's an easy way to get from here to a binary I can distribute - it looks like the generated IR still relies on the frawk runtime.