What I lack in my PICO-8 workflow is a Lua minifier which would support PICO-8 language features. I am aware there are minifiers written in Python (i.e. https://github.com/thisismypassport/shrinko8), but for some reasons I prefer to use JavaScript/TypeScript tooling. If to create such minifier, it would need to do some parsing to AST, which is already implemented in this codebase here.
Therefore, if possible, it would be great to be able to use parser from pico8-ls in such a separate project (as a Node.js dependency) instead of writing one more 🙂
What I lack in my PICO-8 workflow is a Lua minifier which would support PICO-8 language features. I am aware there are minifiers written in Python (i.e. https://github.com/thisismypassport/shrinko8), but for some reasons I prefer to use JavaScript/TypeScript tooling. If to create such minifier, it would need to do some parsing to AST, which is already implemented in this codebase here.
Therefore, if possible, it would be great to be able to use parser from
pico8-ls
in such a separate project (as a Node.js dependency) instead of writing one more 🙂This issues is created in result of https://github.com/japhib/pico8-ls/issues/26#issuecomment-1285990229