A framework to handle ladderlog input from Armagetron