[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: All your local are belong to us
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sat, 3 Oct 2015 06:33:37 +0200
2015-10-03 2:41 GMT+02:00 Paul Merrell <firstname.lastname@example.org>:
> In my mind, the biggest thing that has held Lua back from
> much wider adoption is the dearth of documentation for newbies.
You mean, there should be easily available, preferably online
documentation something like this?
To keep with the tradition, our first program in Lua just prints "Hello World":
If you are using the stand-alone Lua interpreter, all you have to do
to run your first program is to call the interpreter (usually named
lua) with the name of the text file that contains your program. For
instance, if you write the above program in a file hello.lua, the
following command should run it:
prompt> lua hello.lua