are the following attributes parts of compiler Lexer or Pars

are the following attributes parts of compiler Lexer or Parser:

1.strips out the comments and whitespace

2.converts text into lexemes

3.generates an Abstrat Symbol Tree

4.recursive descent or table driven

5.uses BNF or EBNF definitions

Solution

Yes. All the points given above are the part of a Lexer/Parser.

Lexer performs follwowing functions

1.strips out the comments and whitespace

2.converts text into lexemes

Parser performs following

3.generates an Abstrat Symbol Tree

4.recursive descent or table driven

5.uses BNF or EBNF definitions

are the following attributes parts of compiler Lexer or Parser: 1.strips out the comments and whitespace 2.converts text into lexemes 3.generates an Abstrat Sym

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site