VC-2 Pseudocode Parsing SoftwareΒΆ

This manual describes the VC-2 pseudocode parsing software. This software provides facilities for parsing, translating and formatting the pseudocode language described in SMPTE ST 2042-1 (VC-2) series of standards documents.

In Pseudocode Parser the vc2_pseudocode_parser.parser module is introduced which implements a parser and Abstract Syntax Tree (AST) for the pseudocode language. This forms the basis of the other tools provided by this software and also may be used directly if desired.

In Pseudocode to Python translation, the vc2-pseudocode-to-python command (and associated vc2_pseudocode_parser.python_transformer Python module) are introduced. These produce automatic translations of VC-2 pseudocode listings into valid Python.

In Pseudocode to SMPTE Word Document translation, the vc2-pseudocode-to-docx command (and associated vc2_pseudocode_parser.docx_transformer Python module) are introduced. These generate Word (docx) documents containing pretty-printed and syntax highlighted versions of a VC-2 pseudocode listing. Suplimentrary to this, Word Document Construction gives additional details of the Word document generation process.

Finally, you can find the source code for vc2_pseudocode_parser on GitHub.

Note

This documentation is also available in PDF format.