Twitist Forums
browser a compiler or interpreter? - Printable Version

+- Twitist Forums (http://twitist.com)
+-- Forum: Other forums (/forum-31.html)
+--- Forum: General Internet related Qustions (/forum-32.html)
+--- Thread: browser a compiler or interpreter? (/thread-149460.html)



browser a compiler or interpreter? - Pankaj - 04-28-2014 05:43 PM




- Robert - 04-28-2014 05:53 PM

A Web browser uses interpreter to execute programs

A compiler transforms source code into another computer's language

i.e. from source language to destination language

http://en.wikipedia.org/wiki/Compiler

A interpreter also converts high level language to low level but it executes the programming language without in steps. i.e. even if error occurs in a single line of program the process stops.

http://en.wikipedia.org/wiki/Interpreter_(computing)

the major difference between them is that, a interpreter translated line-by-line while a compiler translates on the whole.

is error occurs in any part, the report is generated in a interpreter

http://www.engineersgarage.com/contribution/difference-between-compiler-and-interpreter