LIL is a Language Make games, nicely

Hello world

This is usually the first thing one does when learning any programming language. Just print something to the console.

  1. With your favorite plain text editor, create a new file called hello.lil
  2. Add the following to the file:

    print "Hello world"
  3. Open a Terminal window, navigate to the folder where the file is, and type the following:
  4. lil hello.lil --run

    The output should be: Hello world

  5. If the executable can't be found, add its containing folder to your PATH or write the full path:

    /full/path/to/lil hello.lil --run