Sanctuary project - precompiler

Summary

My work on the Sanctuary project is implementing the as-yet-unnamed precompiler described in How To Migrate Agents by Yee and Hohlfeld. This precompiler takes a java program as input and performs source code transformations to handle internal (thread-level) state capture whenever a migrate is requested. This allows agents to run on any standard jvm, and also abstracts the messy details of state capture from the agent programmer.

Current State

[precompiler] implements all the transforms described in How To Migrate Agents except support for multithreaded agents. I am currently working on many assorted features not mentioned in that paper but required to make the precompiler usable. See the version log for more complete info.

Documentation

As usual, this section is lagging behind the others, but it's reasonably up-to-date if somewhat incomplete.

  • Javadoc class descriptions