Programming language

timer Asked: Jul 20th, 2013
account_balance_wallet $5

Question Description

How the different constructs in the language are put together to form a correct program

Tutor Answer

School: Rice University

Computer words format is normally distinguished in 3 amounts:

Text – the lexical degree, determining just how heroes kind bridal party;

Words – the sentence structure degree, narrowly speaking, determining just how bridal party kind key phrases;

Circumstance – determining what physical objects or maybe specifics brands make reference to, in case sorts are generally valid, and so on.

Distinct in this manner produces modularity, permitting just about every degree for being defined and highly processed on their own, and sometimes on their own. First some sort of lexer becomes the linear series connected with heroes right into a linear series connected with bridal party; this is known as "lexical analysis" or maybe "lexing". Next the parser becomes the linear series connected with bridal party right into a hierarchical format woods; this is known as "parsing" narrowly speaking. In addition the contextual analysis eliminates brands and lab tests sorts. This particular modularity is oftentimes doable, playing with several real-world different languages a younger stage is determined by some sort of later on stage – one example is, the lexer chop with Chemical is because tokenization is determined by circumstance. Possibly in these instances, syntactical analysis can often be known as approximating this perfect model.

flag Report DMCA

Thanks, good work

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors