Syntax Analysis, Computer Science and IT Engineering Computer Science Engineering (CSE) Notes | EduRev

Computer Science Engineering (CSE) : Syntax Analysis, Computer Science and IT Engineering Computer Science Engineering (CSE) Notes | EduRev

The document Syntax Analysis, Computer Science and IT Engineering Computer Science Engineering (CSE) Notes | EduRev is a part of Computer Science Engineering (CSE) category.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)

SYNTAX ANALYSIS

Syntax analysis is the second phase of the compiler. It gets the input from the tokens and generates a syntax tree or parse tree.


Advantages of grammar for syntactic specification :

1.   A grammar gives a precise and easy-to-understand syntactic specification of a programming language.

2.   An efficient parser can be constructed automatically from a properly designed grammar.

3.   A grammar imparts a structure to a source program that is useful for its translation into object code and for the detection of errors.

4.   New constructs can be added to a language more easily when there is a grammatical description of the language.

Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!

Related Searches

Syntax Analysis

,

past year papers

,

Sample Paper

,

Free

,

pdf

,

Summary

,

video lectures

,

practice quizzes

,

Previous Year Questions with Solutions

,

Exam

,

Syntax Analysis

,

Computer Science and IT Engineering Computer Science Engineering (CSE) Notes | EduRev

,

Extra Questions

,

mock tests for examination

,

Viva Questions

,

study material

,

ppt

,

Important questions

,

Semester Notes

,

shortcuts and tricks

,

Computer Science and IT Engineering Computer Science Engineering (CSE) Notes | EduRev

,

Computer Science and IT Engineering Computer Science Engineering (CSE) Notes | EduRev

,

Objective type Questions

,

Syntax Analysis

,

MCQs

;