#7. Sum

Note

If you have any ideas or enhancements for this page, please edit it on GitHub!

Following documentation is a cooperative result combined from our Discord chat and numerous pull requests. Thanks to everyone who helped!

Image

This image was produced from the seventh radio transmission using previously contributed code.

This partly annotated version of the image was made using code from message #3.

Interpretation

Contributed by Discord user @elventian.

This image shows all known operators and functions:

Count of operand symbols before function symbol defines how many operands the function expects. if this is correct, we need to do the following to calculate sum of three numbers:

Decoded

add
ap ap add 1 2   =   3
ap ap add 2 1   =   3
ap ap add 0 1   =   1
ap ap add 2 3   =   5
ap ap add 3 5   =   8
...

Code

Revised version of the Haskell code that supports the add glyph is published on the message #3 page.

Contributed by Discord users @pink_snow and @fryguybob.

Example output: