search
Log In

Recent questions tagged lexemes

0 votes
0 answers
1
Tagged languages like HTML or XML are different from conventional programming languages in that the punctuation (tags) are either very numerous (as in HTML) or a user-definable set (as in XML). Further, tags can often have parameters. Suggest how to divide the ... you liked that one. <P> into appropriate lexemes. Which lexemes should get associated lexical values,and what should those values be?
asked Jul 27, 2019 in Compiler Design Lakshman Patel RJIT 180 views
0 votes
0 answers
2
Divide the following C + + program: float limitedSquare(x) float x { /* returns x-squared, but never more than 100 */ return (x<=-10.0 || x>=10.0)?100:x*x; } into appropriate lexemes, using the discussion of Section $3.1.2$ as a guide. Which lexemes should get associated lexical values? What should those values be?
asked Jul 27, 2019 in Compiler Design Lakshman Patel RJIT 166 views
To see more, click for the full list of questions or popular tags.
...