FOME-Tech / fome-fw

Free Open Motorsports ECU
https://www.fome.tech
Other
46 stars 23 forks source link

FOME Console: automatic Lua minification w/ source map #375

Open nmschulte opened 7 months ago

nmschulte commented 7 months ago

It might be useful to have FOME Console automatically minify the Lua script, and keep a source map so that can be used to translate any errors from FOME back to the original source.

This would allow Lua scripts to take up less ROM (and RAM?), allowing for larger scripts, or more free RAM.

If there's an SD card / storage available, perhaps the source map can live on the hardware; otherwise, I think this would be supplied to FOME Console by the user.