Chapter 3: Lexical Analysis

Problem continues even today!!

. C++ template syntax:Foo<Bar>

. C++ stream syntax: cin >> var;

. Nested templates: Foo<Bar<Bazz>>

. Can these problems be resolved by lexical analyzers alone?

Even C++ has such problems like:

1. C++ template syntax: Foo<Bar>

2. C++ stream syntax: cin >> var;

3. Nested templates: Foo<Bar<Bazz>>

We have to see if these problems be resolved by lexical analyzers alone.