after reading several posts about interpreters, I got confused, and I hope you could help me understand it better (no need for profundity; I'm in my intro classes). Specifically, in regard and trying to understand how a Java compiler works.
Most of the posts I saw said a compiler translates A to B (which could be machine code) to run, andwhile an interpreter 'just' runruns the code. but they didn't explain howHow can the machine can run itcode with just an interpreter. I don't understand how an interpreter can run the code, without producing or translating the code into machine code.? Does it have acall built-in precompiled code of the functions it needs, and then it calls them? ifIf not, how thencan the machine run it- because? I learned it only understand understands bits. Thank you