Parser¶ This class is the superclass providing template functionality needed for parsing every SyReC program. class program¶ add_module(self: mqt.syrec.pysyrec.program, arg0: syrec::Module) → None¶ read(self: mqt.syrec.pysyrec.program, filename: str, settings: mqt.syrec.pysyrec.read_program_settings = <mqt.syrec.pysyrec.read_program_settings object at 0x7f70dd8ee130>) → str¶ Read a SyReC program from a file.