It would be very useful if it were possible to automate the process of running the offline type checker during a build, derailing the build process if any Byteman rules failed to parse or typecheck.
The basic requirement is to modify the current TestScript class so that it can be driven from a Java client rather than the command line. It currently provide a main method which reports outcomes via printout to System.out and System.err. A new API which reports outcomes by returning suitably structured data should be defined and implemented.
More sophisticated usage could be supported by developing a maven plugin and, possibly, an ant plugin which drive the new TestScript API.