local buffer = {}
function io()
if #buffer == 0 then
for s in io.read():gmatch"." do
buffer[#buffer+1] = s
end
end
if #buffer == 0 then
return 0
end
return table.remove(buffer,1):byte()
end
@Phoenix each of the compilers themselves is compiled to bf
@ATaco ehh, I mostly just need people to contribute to compilers
hmmm I just realised I'm not very good at a lot of things, again
like deciding how input should work for the bf interpreter
@ATaco I need your help deciding on something: how should the bf interpreter take the program as input? if you take it by a file path, it doesn't work as well if you wanted to give input that has just been made?
hmm, I guess I can figure out how to use EOF?
maybe an exclamation mark will be EOF, just so that the programs look surprising