A generic a-star implementation for Lua.
Just copy the pulsar.lua file wherever you want it (for example on a lib/ folder). Then write this in any Lua file where you want to use it:
package.path variable must be configured so that the folder in which pulsar.lua is copied is available, of course.
Please make sure that you read the license, too (for your convenience it’s now included at the beginning of the pulsar.lua file).
This project uses telescope for its specs. If you want to run the specs, you will have to install telescope first. Then just execute the following from the root inspect folder:
tsc -f spec/*.lua