Discussion Locked

Interpreters

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
what is an interpreter? How can someone write one? any useful URLs would be appreciated

5 replies

by darryl severn

An interpreter and compiler do exactly the same job, however the timing is different, if you limit the discussion to the "usual" use of interpreters and compilers. Both convert source code into executable code that can be run by the CPU. With an interpreter, the source code is converted at the time it is executed, meaning that such an application is distributed as source code. On the other hand, a compiler converts the source code into executable code before the program is run, allowing only the binary code to be distributed. There are several variations on this theme, particular with Java, but this is essentially what an interpreter is. Writing an interpreter/compiler is tedious work, but find a good book on writing a compiler and that will help.

by shariqsaad

Well i have a written interpreter in C language with me. But i am afraid that you would not rate my answer once i give you my interpreter. So first award me the points than i would e-mail you the interpreter.

Beside this i can help you in developing and understanding one of your own.

shariqsaad@yahoo.com

This discussion is closed to new replies.