Oh, that's not the end! The engine has to do many things besindes that! Like managing garbage collector which searches for and frees unused memory because language does not require programmer to do that by himself.Īnd all of this is done Every. That process has usually a few steps to it - first the line has to be broken down into lexems, those go through grammar and sematics scanners, the token table (let's say that this is a place where functions and variables names are stored) is updated and checked. So that, every time Yandere Simulator is executing any line of code (I am assuming that it is written in script language), it has first go through the engine that translates it into something understandable for the computer. While there are languages that allow you to do so before running program, script languages require you to be running an engine that does the translation during the run time. It has almost 1 to 1 in translation to machine commands.īut that's not how script languages work! Code written in script language is just some meaningless data mumbo-jumbo for your processor - it has to be translated to machine commands first. The most direct way to tell computer what to do is assembly. If it is not then jump to command 1' and so on. Simplyfying, program is a to-do list of things for computer to do. Why Script languages are horrible to write games with.įirst, we need to know how usually computer programs work.