English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-07-30 22:37:07 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

PROLOG is very common

2006-07-30 22:38:36 · answer #1 · answered by Ivanhoe Fats 6 · 1 2

Any language can be used. A fact that has not been greatly broadcast is that the world's most advanced weather prediction program has been written in FORTRAN, long ago written off as an archaic language.

Turing proved long ago that given some very reasonable assumptions, any program that can be written in one language can be written in another language.

The petty wars being fought over choice of language is very misdirected. People should be concentrating on improving their language-independent skills, such as debugging and algorithms. The final language used to implement a given algorithm is somewhat arbitrary.

2006-07-31 07:58:20 · answer #2 · answered by brunt 4 · 0 0

Programming languages are software that allow programmers to write more software. It is called a language because it has its own vocabulary and syntax like spoken language. The early history of computing forced programmers to first write programs in machine code--i.e. the language of the computer in binary notation. To simplify this tedious and difficult method of programming, assembly language was designed to represent often used binary instructions into words. For example, "010111000" may instruct the computer to add two numbers, so assembly language would represent the same command with the word "ADD." Assembly language did not make conceiving a program any easier but to actually do the programming with words instead of numbers was an improvement

Assembly programming are further developed and refined so that the code used to describe the program are more symbolic and English-like. A program in the language Pascal that tells the computer to add the values store in variables "a" and "b" and store the value into the variable "c" would be: "c:=b+a;".

LISP. LISt Processing is a programming language created by John McCarthy in 1958 at MIT. As one of the major advancements to develop AI, LISP was one of the first high-level languages used English-like words to control the computer. Not only did this language make computers easier to program, LISP gave more abilities for the computer to do symbolic manipulation in the list format--an algorithm that treated symbols like beads strung together. More importantly, LISP allowed programs to modify itself. Thus, if the program was not running in the proper way, it could rewrite the code that define how it ran in a certain instance to make it behave differently. It is because LISP could modify itself that it could not compile its high-level language into machine code, making it an interpreted language.

PROLOG. PROgrammation en LOGique was the name Phillippe Roussel's wife dubbed the new programming language in 1972. Both Roussel and his colleague, Alain Colmerauer, were Frenchmen who wanted to make a computer parse a sentence and hopefully understand it. In September of 1970, Colmerauer had written a paper describing a way to represent sentences through a tree structure in which simple rules could interpret the tree and thus parse the sentence and even generate new ones on its own. Such logical structures was greater improved in 1974 by including the Horn clause format which essentially eliminated the "or" clause and forced the use of "and" clauses in an "If... Then" statement in programming and thus made every decision a computer made through this kind of program definite instead of semi-definite. For example, suppose an expert system was written in PROLOG to determine whether a person was Santa Claus from the description it received.

2006-07-31 05:45:20 · answer #3 · answered by Joe_Young 6 · 0 0

LUA is the most common(I think)

2006-07-31 06:17:08 · answer #4 · answered by Sanctus2099 1 · 0 0

fedest.com, questions and answers