You could build on https://www.masswerk.at/elizabot/ They build there in javascript on it for a "terminal" or speech i/o. You could similarly make a LC GUI based on elizabot.js in a browser widget. Or moreover translate elizabot.js to LiveCode. The js is already object oriented and has 1.7K in < 400 lines.