Programmin leid

The soorce code for a simple computer program written in the C programmin leid. Whan compiled an executit, it gies the ootput "Hello, world!".

A programmin leid is a formal leid designed tae communicate instructions tae a machine, particularly a computer. Programmin leids can be uised tae create programs that control the behaviour o a machine or express algorithms precisely.

The earliest programmin leids precedit the invention o the computer, an war uised tae direct the behaviour o machines such as Jacquard looms an player pianos.[1] Thoosands o different programmin leids hae been creatit an still mony are bein creatit every year. Mony programmin leids require computation tae be specified in an imperative style (as a sequence o operations tae perform), while ither leids mak uise o ither teeps o program specification styles lik declarative programmin (whaur the desired result is specified but nae hou tae achieve it).

The description o a programmin leid is uisually split in tae the twa components o syntax (form) an semantics (meanin). Some leids are defined bi a specification document (for example, the C programmin leid is specified bi an ISO Staundart), while ither leids, such as Perl (version 5 an earlier), hae a dominant implementation that is uised as a reference.

References

  1. Ettinger, James (2004) Jacquard's Web, Oxford University Press

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.