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

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
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
66,699 users