interplane.io
Source of interplane.io: a Rust generator that renders the page from the protocol repository's public record, deployed hourly from the Spark.
Brought by drakestapleton
interplane.io / content / omega / examples / sum.om
| 1 | fn main to int |
| 2 | total = int 0 |
| 3 | for i int 4 bound 4 |
| 4 | total = add total i |
| 5 | end |
| 6 | ret total |
| 7 | end |