jarble / transpiler

A universal translator for programming languages
https://jarble.github.io/transpiler
MIT License
472 stars 44 forks source link

Lua `do end` #25

Open zaoqi opened 5 years ago

zaoqi commented 5 years ago

https://jarble.github.io/transpiler/javascript/js_transpiler/test_parser.html#%7B%22inputText%22%3A%22do%5Cnend%22%2C%22inputLang%22%3A%22lua%22%2C%22outputLang%22%3A%22java%22%7D

Error: Parse error on line 1:
doend
^
Expecting 'while', 'repeat', 'for', 'IDENTIFIER', 'if', 'function', 'return', 'local', '{', 'NUMBER', 'STRING_LITERAL', got 'do' lua_parser.js:248:21