Program takes a statement as input and return the sequence of tokens as output
Compile using : g++ 19CS01065_A2.cpp -o tokenizer
Run : ./tokenizer
Transition Diagrams Implemented
- if
- else
- then
- identifier
- number
- relational operators
- whitespace
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Program takes a statement as input and return the sequence of tokens as output
Compile using : g++ 19CS01065_A2.cpp -o tokenizer
Run : ./tokenizer
Transition Diagrams Implemented