• JackbyDev@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    Make sure to make ample use of mixed content elements.

    <statement><var>bar</var> = <int>0</int></statement>
    
    • A Phlaming Phoenix@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago
      statement: 
        comparison:
          - kind: libcompare.EQUALS
            comparators:
              - foo
              - bar
            whentrue:
              statement: 
                streaming: 
                  - kind: libstreams.PRINT
                     content: foo equals bar
            whenfalse:
              statement: 
                streaming: 
                  - kind: libstreams.PRINT
                     content: foo does not equal bar