TAG ARCHIVE
Lua
1 article
|
Updated Jan 9, 2018
Lua in a Nutshell: A Quick Tutorial for Lua
I’m reading source code written with Torch these days. Torch is a well-known deep learning framework written in Lua. So I summarize its grammar and provide a quick tutorial here. Getting Started Like many languages, Lua is case-sensitive. The following code outputs “Hello World” with Lua. Note that the semicolon at the end of a line is optional, like JavaScript. print('Hello World') You can use the interpreter of Lua in the command line: