mirror of
https://github.com/notwa/lips
synced 2024-05-02 09:33:23 -07:00
pedanticism
This commit is contained in:
parent
792bb63996
commit
03eb1b9ed5
|
@ -12,12 +12,7 @@ Even this README is incomplete.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Install the lips directory to somewhere Lua's `package.path` can find it.
|
`local lips = require "lips.init"`
|
||||||
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.
|
|
||||||
|
|
||||||
You can then use it as such:
|
You can then use it as such:
|
||||||
[example.lua][elua] — [example.asm][easm]
|
[example.lua][elua] — [example.asm][easm]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
package.path = package.path..";?/init.lua"
|
local lips = require "lips.init"
|
||||||
local lips = require "lips"
|
|
||||||
local err = lips('example.asm')
|
local err = lips('example.asm')
|
||||||
if err then
|
if err then
|
||||||
print(err)
|
print(err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user