Welcome to the jspicl documentation
jspicl is a JavaScript to PICO-8 Lua transpiler. It enables you to develop PICO-8 games in JavaScript by creating an AST out of the JavaScript code and then transpiling it down to the Lua subset of which PICO-8 supports.
You have two paths forward, either using the API to transpile JavaScript to PICO-8 Lua or the CLI which uses the API behind the scenes to create PICO-8 cartridges.
Guides
Basic guides
Learn how to use the CLI to get you up and running quickly.
Advanced guides
Use the API directly to transpile JavaScript.
API Reference
Resources