Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Meta (name pending), is a small script that adds a package loader for lua. Instead of just loading files (for both pure lua and LÖVE), it also does a few string substitutions to allow for extra syntax.

###Extra syntax###

--New syntax -- old syntax
  a += b     -- a = a + b
  a -= b     -- a = a - b
  a *= b     -- a = a * b
  a /= b     -- a = a / b
  a ^= b     -- a = a ^ b
  a %= b     -- a = a % b
  a++        -- a = a + 1
  a--        -- a = a - 1

###Files###

meta.lua is the actual script, and main.lua and game.lua are an example for LÖVE.

About

Add some extra syntax to lua (name pending)

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors