...

/

Exercise: A Simple Interpreter

Exercise: A Simple Interpreter

Challenge yourself to write a regular expression for this fun exercise!

We'll cover the following...

Let’s make a simple interpreter!

Problem statement

Write the regular expression which accepts the code that will allow us to declare a variable. For simplicity, the variable can only store the number data type. ...