DiscoverLearnDocumentationGet OpenPLXSearch Contact

OpenPLX syntax overview

OpenPLX was inspired by YAML but has been extended with object oriented constructs, expressions as well as making the syntax simpler and more like natural language. It is indentation sensitive and to keep the syntax simple expressions cannot be split among multiple lines (except for multiline strings). You will find a description of the different constructs in the menu to the left.

Examples

a_global_variable is Real: 3.0

ModelA:
    x is Bool: true

ModelB is ModelA:
    x: false

ModelC:
    .doc: """
The model called ModelC
"""
    b is ModelB:
        x: true
    str is String: "Hello world"
    x is Real: a_global_variable * 4.2