Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oakmac/parinfer-lua
Parinfer core algorithm in Lua
https://github.com/oakmac/parinfer-lua
Last synced: 3 months ago
JSON representation
Parinfer core algorithm in Lua
- Host: GitHub
- URL: https://github.com/oakmac/parinfer-lua
- Owner: oakmac
- License: isc
- Created: 2021-02-15T20:24:22.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-03T15:04:37.000Z (about 2 years ago)
- Last Synced: 2024-08-03T13:06:19.031Z (5 months ago)
- Language: Lua
- Homepage:
- Size: 235 KB
- Stars: 16
- Watchers: 5
- Forks: 1
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Parinfer in Lua
The core [Parinfer] algorithm written in Lua.
[Parinfer]:http://shaunlebron.github.io/parinfer/
## Usage
This library mirrors [parinfer.js] nearly 1-for-1. Please see documentation
there for usage.Note that this library uses 1 indexes (instead of 0) for things like `options.cursorX`,
`options.cursorLine`, `changes.lineNo`, etc in order to be compatible with the
rest of the Lua ecosystem.The library is a single file (`parinfer.lua`) and has no external dependencies.
The libraries in the `libs/` folder are for development helpers and to run the
test suite.[parinfer.js]:https://github.com/oakmac/parinfer
## Run Tests
```sh
lua tests.lua
```## License
[ISC License](LICENSE.md)