Let’s create a mini programming language!
In this tutorial, we will create a mini programming language. That compiles: to Which we will use to draw interesting stuff on the HTML canvas. So let’s start! Basic stuff Before doing the code, we need to know the logic. Lexing First, we lex the code. This is the process of splitting the code into …