pedanticism

statements
Connor Olding 7 years ago
parent 792bb63996
commit 03eb1b9ed5

@ -12,12 +12,7 @@ Even this README is incomplete.
## Usage
Install the lips directory to somewhere Lua's `package.path` can find it.
If you're using it locally, you'll either need to write something like:
```
package.path = package.path..";?/init.lua"
```
or `require "lips.init"` directly.
`local lips = require "lips.init"`
You can then use it as such:
[example.lua][elua] — [example.asm][easm]

@ -1,5 +1,4 @@
package.path = package.path..";?/init.lua"
local lips = require "lips"
local lips = require "lips.init"
local err = lips('example.asm')
if err then
print(err)

@ -0,0 +1,2 @@
local path = string.gsub(..., "%.init$", "").."."
return require(path.."lips.init")
Loading…
Cancel
Save