Make your Own Calculator in Python - Part 2 - Tokenizing

In this video we’ll be creating the regular expressions that define what an Int, Float and Variable Name are in are lexer. This will allow our lexer to correctly identify the tokens it encounters. The lexer can then pass these tokens to the parser.

Don’t forget to subscribe for more!


Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece. At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.