The obligatory hello world program:
hello_world.lm
We run it with:
This creates a executable chmod+x file with the same name:
-rwxr-xr-x 1 peter peter 29848 Nov 2 10:06 /tmp/hello_world
When we execute it:
./hello_world
We’ll see:
hello world
We can strip the file to check if we can reduce the executable.
-rwxr-xr-x 1 peter peter 10360 Nov 2 10:10 /tmp/hello_world
Deja-vu: python2-python3
![]() |
It turns out that print is also a function that can have multiple arguments. |
hello_world_ext.lm
We also notice that: * the quotes can be single and double * the whitespace is not significant * the newlines \n appear to be \r\n