Discussion 1 - Programming Lauguages
Discussion 1 - Programming Lauguages
Sijing Zhang
Wikipedia--A programming language is an artificial language designed to
communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms. ArtificialEasy for human to understand and use Communicationhigh efficient to translate into machine language (C) Express algorithmEasy to build data structure and algorithm Specific DocumentC Dominant implementation as referenceperl A programming language's surface form is known as its syntax. (Form and rules o !he
language" Many syntactically correct programs are nonetheless ill-formed, per the language's rules and may !depending on the language specification and the soundness of the implementation" result in an error on translation or execution# $he syntax of most programming languages can %e specified using a $ype-& grammar, i#e#, they are context-free grammars#'()* Some languages, including +erl and ,isp, contain constructs that allow execution during the parsing phase#
Less possibility of ambiguity, easy for other people to read and understand the code correctly. Convenient to edit during programming Communication ith teammates
$he term Semantics refers to the meaning of languages, as opposed to their form !syntax"#
#ash$%erl$ru&' ( scri%! %rogramming) au!oma!ic e*ecu!ion +a,a$c-( o&jec!.orien!edne!/or0) da!a lo/ +a,a( mul!i.%la! orm) no %oin!ers(sim%li ied1 memor' securi!'") error de!ec!)mul!i!hreading S2L( large da!a) general da!a s!ruc!ure en!rance P3P( leas! amoun! o code C44( com&ine /i!h 5icroso ! o%era!ing s's!em) %o/er ul 5FC) dee% in!o %rogramming$ &o!h o%era!ing s's!em and a%%lica!ion
678#E ran0ing