plum
git clone https://git.pyrossh.dev/plum
A statically typed, imperative programming language inspired by rust, python
examples/strings.plum
| 0fe3528 | 1 | fun greet(name: Str) -> Str = |
| 0e1801a | 2 | "Hello, {name}!" |
| 0e1801a | 3 | |
| 0fe3528 | 4 | fun report(count: Int, total: Int) -> Str = |
| 0e1801a | 5 | "{count} of {total} complete" |
| 0e1801a | 6 | |
| 0fe3528 | 7 | fun empty() -> Str = |
| 0e1801a | 8 | "" |
| 0e1801a | 9 | |
| 0fe3528 | 10 | fun escaped() -> Str = |
| 0e1801a | 11 | "line one\nline two\ttabbed \"quoted\"" |