Introduction to Lua Programming

LUA-100 (2 Days)
Request Pricing for Introduction to Lua Programming

Lua Training Overview

Lua is a free, open-source programming language that is popular as an embedded plugin/extension language in different software products, In addition, Lua can also be used as a standalone language.

Lua is both powerful and easy to use with a reputation for being high performance, extremely portable, lightweight, and embeddable.

This Lua Programming training course teaches attendees how to write middle-sized standalone Lua programs and script software products where Lua is the embedded language. Students learn fundamental programming constructs in Lua, as well as concepts that are useful in other areas of software engineering.

Headcount Cap: Due to the intensive instructor interaction in this class, headcount is capped at 10 attendees per delivery.

Location and Pricing

Accelebrate courses are taught as private, customized training for groups of 3 or more at your site. In addition, we offer live, private online training for teams who may be in multiple locations or wish to save on travel costs. To receive a customized proposal and price quote for private on-site or online training, please contact us.

Lua Training Objectives

All students will learn how to:

  • Program using Lua's basic syntax and semantics
  • Work with data types and data structures
  • Create tables
  • Work with conditionals
  • Incorporate error handling
  • Work with functions
  • Use modules and packages
  • Understand the building blocks of OOP in Lua

Lua Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction to Lua
  • A bit of history
  • Lua's goals, features and non-goals
  • Resources of Lua documentation and tutorials
  • Installing the Lua interpreter
  • Setting up and using LuaRocks
Basic Syntax and Semantics
  • Identifiers
  • Comments, block comments
  • Global variables and enforcing of strictness
  • Local variables
  • Standalone programs, program arguments
  • Compilation units, chunks, expressions, semicolons
Data Types and Data Structures
  • Basic types: nil, boolean, number, string
  • Object types: function, userdata, thread, table
  • References/objects vs. basic values
  • The importance of tables in Lua
Introduction to Tables and Their Versatility
  • Tables as an associative array
  • Tables as numeric arrays, sequences
Basic Control Structures
  • The if then elseif else end
  • The while loop
  • The repeat loop
  • The simple for loop
Error Handling
  • Return values vs exceptions
  • Converting a return value to an exception
  • Converting an exception to a return value
  • Error levels
Example Programs
  • Polynomial evaluation
  • Breadth first search
  • Additional exercises
More about Functions
  • Named arguments
  • Object-oriented calls
  • Closures
  • Currying
  • Tail calls
  • Multiple assignment and return
  • Varargs
Iterators and Co-Routines
  • The generic for loop
  • Stateless vs stateful iterators
  • Differences between iterators and co-routines
Metatables and Metamethods
  • The set example
  • The __tostring metamethod
  • Arithmetic metamethods
  • The __index, __newindex metamethods
  • The __len metamethod
Modules and Packages
  • Using modules
  • Creating modules
  • Organizing modules into packages
Object-oriented Programming
  • The building blocks of OOP in Lua
  • Examples
Discussion on more advanced language features
  • Weak tables
  • Finalizers
  • Compilation, eval, loading
Conclusion
Request Pricing for Introduction to Lua Programming
Lecture percentage

60%

Lecture/Demo

Lab percentage

40%

Lab

Course Number:

LUA-100

Duration:

2 Days

Prerequisites:

All students must have familiarity with at least one other programming language. Having familiarity with other scripting languages is helpful, but not required.

Training Materials:

All Lua training students receive comprehensive courseware.

Courseware by NobleProg® Ltd, 2004 - 2020 All Rights Reserved.

Software Requirements:

  • Internet connection and a modern browser.

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Have you read our Google reviews?

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Fax: +1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2020 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.