(Yeah, BASIC has always tugged at my heart strings.)
Download attached json, and drag into a TiddlyWiki instance to import the two tiddlers.
Hmmmm, has me thinking:
Using TW as a host for basic programming language code in tiddlers,
feeding that code into dynamically created HTML fed to an iframe,
and display the results of the basic code interpreted by javascript.