Add prog macro

For reasons I don't quite understand, this works within the jscl repl, but doesn't compile correctly in the host.

Not sure that this should be in compiler, might belong in utils.