Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Enichan/Depicofier

Converts/translates PICO-8 style Lua syntax to standard clean Lua syntax
https://github.com/Enichan/Depicofier

convert converter lexer lua parser pico-8 pico8 shorthand syntax tic-80 tic80 tool translate translation translator transpilation transpiler utility

Last synced: about 1 month ago
JSON representation

Converts/translates PICO-8 style Lua syntax to standard clean Lua syntax

Awesome Lists containing this project

README

        

# Depicofier

Converts/translates PICO-8 style Lua syntax to standard clean Lua syntax. Download the [latest release](https://github.com/Enichan/Depicofier/releases) here.

This tool uses a [publicly available and well-tested Lua language grammar](https://github.com/antlr/grammars-v4/tree/master/lua) to parse PICO-8 source code, so that any enhanced or special syntax or shorthand will only be converted where it should be.

If you like this tool please consider kicking me a dollar [on Patreon](https://www.patreon.com/sharkhugseniko).

# Usage

```
Depicofier.exe [inFile] [outFile]
Or to output source to console:
Depicofier.exe [inFile] -print
Switches:
-strict Print warnings for Lua syntax not found in Pico 8 such as binary
operators, integer division, and bitwise shifts
```