Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

2 votes

How can an interpreter run code without translating into machine code?

First of all. Java programs are executed by a runtime environment that creates the equivalent of a virtual machine, it is visible by your OS as a normal process, but what the OS see is the java ...
FluidCode's user avatar
  • 805
5 votes

How can an interpreter run code without translating into machine code?

I don't understand how an interpreter can run the code without producing or translating the code into machine code By using facilities of the language the interpreter is written in which are compiled ...
Jared Smith's user avatar
  • 1,925
10 votes

How can an interpreter run code without translating into machine code?

Every programming language has semantics. These semantics are what a program means, and it defines what actions should be taken when one "runs" the program. An interpreter reads in a ...
Cort Ammon's user avatar
  • 11.2k
11 votes
Accepted

How can an interpreter run code without translating into machine code?

An interpreter is nothing more than a computer program (usually compiled to machine code) that's designed to execute other computer programs. Like a compiler, an interpreter contains logic to read ...
dan04's user avatar
  • 3,949
35 votes

How can an interpreter run code without translating into machine code?

You can write a simple interpreter.  Let's make a language that "A" means print Hello and "B" means print Space and "C" means print World, then null means end program. ...
Erik Eidt's user avatar
  • 34.1k

Top 50 recent answers are included