Jump to content


Frae Wikipedia, the free beuk o knawledge

In computin, a compiler is a computer program that translates computer code written in ane programming leid (the source leid) tae another leid (the target leid). The nem "compiler" is mainly uised for programs that convert soorce code fae a heich-level programmin leid tae a lower level leid (for example, assmebly leids, object code, or machine code) tae mak an executable program.[1][2]:p1

Their are monie different teeps o compilers. Gin the compiled program can run on a computer thats CPU or operatin seestem is no the same as the ane that the compiler runs on, the compiler is a cross-compiler. A bootstrap compiler is written in the same leid that it compiles. A program that translates fae a low-level leid tae a heicher level ane is a decompiler. A program that translates atween heich-level leids is aften cried a transpiler. The term compiler-compiler refers tae tools uised tae mak parsers that dae syntax analysis.

References[eedit | eedit soorce]

  1. PC Mag Staff (28 Februar 2019). "Encyclopedia: Definition o Compiler". PCMag.com. Retrieved 28 Februar 2017.[deid airtin]
  2. Compilers: Principles, Techniques, and Tools by Alfred V. Aho, Ravi Sethi, Jeffrey D. Ullman - Second Edition, 2007