caos/lextest.arl

9 lines
261 B
Plaintext

"Hello, world!\n" print
4 2 - (hey look a comment) print
:hypot sq swap sq + sqrt;
3 4 << hypot >> eval
if 5 == then "it works!\n" else "it's fucked!\n" end print
(here are some weird numbers)
1234 -69.420 1.337e3 0.707j-0.707 #b10101 #xFFFE #-4321
:234 baddef