I'm working on a utility that automatically converts a simple scripting language into BMax and compiles it. It needs a 'gosub' sort of functionality: jump to a point in the code, execute whatever and then return.
It needs to be able to see every variable at all times, so functions are no good. And making every variable global is right out.
Is there a clever way of doing this, or have the program fallen at the silliest hurdle?
It needs to be able to see every variable at all times, so functions are no good. And making every variable global is right out.
Is there a clever way of doing this, or have the program fallen at the silliest hurdle?