This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
programming:lua [2021/04/14 02:43] nanodano |
programming:lua [2021/04/14 02:44] (current) nanodano [Executing code] |
||
---|---|---|---|
Line 31: | Line 31: | ||
* In the interactive REPL: '' | * In the interactive REPL: '' | ||
* By invoking the Lua interpreter and passing it a file: '' | * By invoking the Lua interpreter and passing it a file: '' | ||
- | * By executing a script directly with a shebang (''# | + | * By executing a script directly with a shebang (e.g. ''# |
- | * Running a precompiled script | + | * Running a precompiled script. Compile with '' |
===== Hello World ===== | ===== Hello World ===== |