Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 13 days ago
JSON representation
Converts/translates PICO-8 style Lua syntax to standard clean Lua syntax
- Host: GitHub
- URL: https://github.com/Enichan/Depicofier
- Owner: Enichan
- License: mit
- Created: 2019-07-22T02:33:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-13T14:52:33.000Z (over 3 years ago)
- Last Synced: 2023-02-26T06:51:35.070Z (over 1 year ago)
- Topics: convert, converter, lexer, lua, parser, pico-8, pico8, shorthand, syntax, tic-80, tic80, tool, translate, translation, translator, transpilation, transpiler, utility
- Language: C#
- Size: 24.4 KB
- Stars: 28
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```