The Gateway to Computer Science Excellence
+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.

in Compiler Design by (449 points) | 332 views
Depends on language.

2 Answers

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

considered as a single token.
by (249 points)
+1 vote
by Active (1.7k 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
50,737 questions
57,302 answers
105,007 users