Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam

Webinar: Evaluation - 05.12

>
>
>
Syntactic analysis

Syntactic analysis

Mar 31 2013

Syntactic analysis (or syntactic parsing) is the process of analyzing the linear sequence of a language lexemes (words, tokens) to its formal grammar. The result is usually a parse tree or an abstract syntax tree. Context-free grammars are used for syntactic analysis of programming languages. Grammars of the more general types in Chomsky hierarchy (context-sensitive and regular grammars) are much more difficult to analyze in a definite way. However, simple (regular) grammars aren't expressive enough to describe nested language constructions.

According to the order in which the parsing tree is constructed, parsing techniques can be divided into two large classes: descending and ascending. The descending technique (top-down parsing) begins from the end of the parse tree nodes and gradually combine them to build higher-level nodes until the parse tree root is reached. The ascending technique (bottom-up parsing) begins from the parse tree root until the tree nodes correspond to the syntax of the sentence being analyzed.

References

Popular related articles


Comments (0)

Next comments next comments
close comment form