Programming language: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Paul Derry
No edit summary
imported>Alex Bravo
m (Capitalization)
Line 1: Line 1:
=== Programming Language ===
=== Programming language ===
A programming language is a way to represent in a reproducible way actions the programmer intends the computing system to perform. The program written in a programming language typically has to be translated into a code the central processing unit [[CPU]] can understand and execute. The programming language allows to define [[data structure]]s and combine them with logic applied to them. Generally a computer language reflects the state of development of the hardware and its processing power.
A programming language is a way to represent in a reproducible way actions the programmer intends the computing system to perform. The program written in a programming language typically has to be translated into a code the central processing unit [[CPU]] can understand and execute. The programming language allows to define [[data structure]]s and combine them with logic applied to them. Generally a computer language reflects the state of development of the hardware and its processing power.


Line 8: Line 8:
'''Interpreted''' languages rely on an application, the '''[[interpreter]]''', that translates the source code into machine code through pre-existing interfaces. For example, an interpreter would read a line such as this: <code>PRINT "Cookies are yummy!"</code> and call the predefined, '''platform independent''' function <code>PRINT</code> inside the interpreter itself where the interpreter then executes the '''platform dependent''' [[function call]].
'''Interpreted''' languages rely on an application, the '''[[interpreter]]''', that translates the source code into machine code through pre-existing interfaces. For example, an interpreter would read a line such as this: <code>PRINT "Cookies are yummy!"</code> and call the predefined, '''platform independent''' function <code>PRINT</code> inside the interpreter itself where the interpreter then executes the '''platform dependent''' [[function call]].


*'''Compiled Languages'''
*'''Compiled languages'''
**[[ASSEMBLER]]
**[[ASSEMBLER]]
**[[ALGOL]]
**[[ALGOL]]
Line 23: Line 23:
**[[Java]]
**[[Java]]
**[[Javascript]]
**[[Javascript]]
*'''Interpreted Languages'''
*'''Interpreted languages'''
**[[BASIC]]
**[[BASIC]]
**[[APL]]
**[[APL]]
Line 38: Line 38:
**[[CodeWarrior]]
**[[CodeWarrior]]
**[[XCode]]
**[[XCode]]
*'''Database Programming Languages'''
*'''Database programming languages'''
**[[SQL]]
**[[SQL]]
**[[PL/SQL]]
**[[PL/SQL]]
*'''Fourth Generation Languages'''
*'''Fourth generation languages'''
**[[DML]]
**[[DML]]
**[[SQL]]
**[[SQL]]

Revision as of 10:49, 2 March 2007

Programming language

A programming language is a way to represent in a reproducible way actions the programmer intends the computing system to perform. The program written in a programming language typically has to be translated into a code the central processing unit CPU can understand and execute. The programming language allows to define data structures and combine them with logic applied to them. Generally a computer language reflects the state of development of the hardware and its processing power.

Programming languages can generally be divided into two categories:

Compiled languages must first be translated by a compiler from human readable source code to an object code. A linker is often applied to this code to assemble it with existing libraries and runtime environments into a form the computer can run.

Interpreted languages rely on an application, the interpreter, that translates the source code into machine code through pre-existing interfaces. For example, an interpreter would read a line such as this: PRINT "Cookies are yummy!" and call the predefined, platform independent function PRINT inside the interpreter itself where the interpreter then executes the platform dependent function call.

All items come with a short description and a typical way to use the language.