LSL Code Generation

The generation of LSL scripts from MiceOnABeam models is one of the key features of the program. The program outputs a complete ready-to-run script from your model, that consists of two parts:

  1. Code automatically generated for the design components used in the model;
  2. Event-handling LSL code that you can insert at various points in the model. Typically this code calls LSL functions or carries out various calculations;


MiceOnABeam can produce a fully-commented version of generated code for debugging and a more optimized version (no comments & code optimizations)  for actual deployment of your scripts.