transpiler icon indicating copy to clipboard operation
transpiler copied to clipboard

please add an example to translate bash into lua

Open rubo77 opened this issue 5 years ago • 1 comments

I would like to try to translate this bash script into lua: https://github.com/Freifunk-Nord/gluon-ssid-changer/blob/2018.1.x/gluon-ssid-changer/shsrc/ssid-changer.sh

But I cannot make it run on the webinterface.

maybe add a "start now" button after you entered the code in the upper box.

I tried this

but I get an error in the console:

uncaught exception: Input language "bash" not recognized

rubo77 avatar Feb 17 '19 23:02 rubo77

I see bash is not supported yet, maybe you can use the code from https://www.swag.uwaterloo.ca/bash2py/downloads/index.html to transpile bash to python first

rubo77 avatar Feb 17 '19 23:02 rubo77