Can i see it? I'm trying to developer a similar thing.

i can give you some snippets. what exactly do you need?

just confused at how to run the code (ie seperate each line and its contents)

let t = `write yo
writeln x`;

function run(code) {
let a = code.split("\n");
for (let i = 0; i < a.length; i++) {
	let command = a[i];
}
}

tysm

whats t for though

View all comments