modal/examples/test.modal

11 lines
357 B
Plaintext

<> (explode ?*) (str (?*))
<> (reverse (str (?h ?t))) (reverse/l ?t (?h))
<> (reverse (str (?h))) (?h)
<> (reverse/l (?h ?t) ?l) (reverse/l ?t (?h ?l))
<> (reverse/l (?h) ?l) (str (?h ?l))
<> (implode str ?*) (?*)
<> ((read)) (?:)
<> (empty-register) (?x)
<> (explode ?*) (str (?*))
(implode reverse (explode hello)) (read) (explode hello) empty-register