This Script converts BASIC Programs without LineNumbers and with Labels (for GOTO/GOSUB) to a BASIC Compatible Program.
You enter you Program without Line Numbers. Incase of GOTO/GOSUB you enter it like:
GOTO <LABEL>
Then you have the Tag infront of a Line (where the Line Number would been):
<LABEL> PRINT "GOTO"
There is a JavaScript Version which can be used through a Browser and a Command-Line Version which needs Perl. The JavaScript Version contains Example Code.
You can try the JavaScript Version here