Original Post
Could someone explain how an interpreter for a programming language works? Such as Ruby?
Does it use some sort of emulating, virtual machine to execute code on? Or does it execute the instructions as it reads them, or they are inputted, and if so, how? How can you just translate the code to a low level and tell the computer to run it, without putting it into a file of sorts, or a location in memory, dealing with the operating system to allocate it and such? How does an interpreter work, specifically? Any resources for constructing one?
Do you believe interpreted languages have a place, in the real-time world, or no? Thoughts? Comments? Thanks!