Skip to content

oakmac/parinfer-lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parinfer in Lua

The core Parinfer algorithm written in Lua.

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.

Run Tests

lua tests.lua

License

ISC License

About

Parinfer core algorithm in Lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages