The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
258 views

What are different set of characters which are taken as single token in lexical analysis in compiler design?

For eg. Charaters under double quotes are taken as single token, post-increment and pre-increment is taken as single token etc.

asked in Compiler Design by Junior (675 points) | 258 views
0
Depends on language.

1 Answer

+2 votes
Operator attached with another operator and form a meaning full operator(ex:<=,>=,>>,<<,==,++,--)  

considered as a single token.
answered by (269 points)

Related questions



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

47,139 questions
51,388 answers
178,056 comments
66,699 users