I'm going to go old school on JavaScript and write a BASIC.js that contains functions like:
function UCASE(obj) {
return obj.toUpperCase();
}
function LCASE(obj) {
return obj.toLowerCase();
}
Q: Has anyone done this already?
Don't know that anyone has done that exactly -- honestly not sure of the utility, but hey, if it's fun for you, why not?
However, there are a number of javascript-based BASIC interpreters:
NGBasic
Quite BASIC
Applesoft BASIC interpreter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With