Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,22 @@ Lua is designed to be a simple and lightweight language, without a lot of bells

----------------------------------------
### New To Programming
**_TODO: Include a brief lua tutorial here, and links to more online._**
If you're completely new to programming, Lua is a good first languae. It's relatively simple, has plenty of resources available online, and you can learn it while modding your favorite games.

First, install Lua:
Windows: https://github.com/rjpcomputing/luaforwindows/releases
MacOS: `brew install lua`

Debian: `sudo apt install lua<VERSION>`
RHEL: `yum install lua`
Fedora: `dnf install lua`

Traditionally, the first application written when learning a new language is called a Hello World. In Lua, this is quite simple. Create a new file name HelloWorld.lua, and add the following to it:
`print("Hello World")`

Then, in a terminal, navigate to that folder and type `lua HelloWorld.lua`

If you see Hello World on the screen, you have correctly installed Lua and you're ready to continue.

----------------------------------------
### New To Lua
Expand Down