libctl is a Guile (http://www.gnu.org/software/guile/) based library for supporting flexible control in files in scientific simulations. It is used by the scheme-based interface to the electromagnetic simulation software programs i MPB and MEEP.