![]() vious effort at designing an assembler-level declarative language. Programming languages like Python, BASIC, and Ruby uses interpreters.Īssembler is a translator which is used to translate the assembly language code into machine language code. coexist, and furthermore to serve as the main language for our compilers. Programming languages like C, C++ uses compilers. It stops translation when the first error is met. Memory usage is efficient as no intermediate object code is generated.ĭebugging is hard as the error messages are generated after scanning the entire program only. Requires more memory as linking is needed for the generated intermediate object code. Performs statement by statement translation. Performs the translation of a program as a whole. It gives better error diagnostics than a compiler.ĭifferences between compiler and interpreter It directly executes the operations specified in the source program when the input is given by the user. Interpreter translates line by line and reports the error once it encountered during the translation process. Interpreter is a translator which is used to convert programs in high-level language to low-level language. It translates the entire program and also reports the errors in source program encountered during the translation. ![]() Compiler is a translator which is used to convert programs in high-level language to low-level language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |