In theory, there is no difference between theory and practice. But, in practice, there is. Subject-compiler design distracted me from my daily schedule and forced me to test my theory. I found a blogpost on writing a interpreter.


I, Rohit Sethi swear to complete #100DaysOfCode to the best of my ability and with true spirit.

Task Completed

On Day 41, I did the following :-

Made a interpreter which can perform simple addition and subtraction on single digit numbers.


On Day 41, I learnt the following :-

  1. compiler and interpreter.

  2. lexical analyser / Scanner / Tokenizer.

  3. got an idea along with theory on how compilers work.

  4. parser