{"id":6452,"date":"2025-12-17T11:13:56","date_gmt":"2025-12-17T05:43:56","guid":{"rendered":"https:\/\/study.madeeasy.in\/?p=6452"},"modified":"2025-12-17T11:13:56","modified_gmt":"2025-12-17T05:43:56","slug":"compiler-program","status":"publish","type":"post","link":"https:\/\/www.madeeasy.in\/study\/cs-it\/compiler-program","title":{"rendered":"Compiler Program"},"content":{"rendered":"<h2 style=\"text-align: justify;\">Compiler<\/h2>\n<p style=\"text-align: justify;\">A compiler is a program that reads a program written in one language the source language-and translates<br \/>\ninto an equivalent program in another language-the target language. The translation process should also report the presence of errors in the source program.<\/p>\n<h3 style=\"text-align: justify;\">Interpreter<\/h3>\n<p style=\"text-align: justify;\">An interpreter is a program that executes other programs. The interpreter and the underlying machine are combined into a virtual machine and simulate the execution of the input program on the virtual machine.<\/p>\n<p style=\"text-align: justify;\">In general, the source language is any high level language, and the object language is an assembly\/ machine language. We can show the general process of compilation by using following diagram.<br \/>\nPre-processor is a program that processes its input data to produce output that is used as input to another program (compiler). The output is said to be a preprocessed form of the input data, which is generally used by compiler. Very basic work of pre-processor is to insert the files which are named in source program.<br \/>\nFor example, let in source program, it is written #include \u201cstdio.h\u201d. The preprocessor replaces this file by its contents in the produced output.<br \/>\nThe basic work of a linker is to merge object codes (that has not even been connected), produced by compiler, assembler, standard library functions, and operating system resources.<br \/>\nThe codes generated by compiler, assembler, and linker are generally re-locatable by its nature, mean to say, the starting location of these codes are not determined, means, they can be anywhere in the computer<br \/>\nmemory. Thus, the basic task of the loader is to find\/calculate the exact address of these memory locations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Compiler A compiler is a program that reads a program written in one language the source language-and translates into an<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1908,3],"tags":[1909,1910],"class_list":["post-6452","post","type-post","status-publish","format-standard","hentry","category-compiler","category-cs-it","tag-compiler","tag-interpreter"],"_links":{"self":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/6452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/comments?post=6452"}],"version-history":[{"count":0,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/6452\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/media?parent=6452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/categories?post=6452"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/tags?post=6452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}