To create an interpreted language, you need to create two things:
- A formal definition of the language's grammar
- A parser that can read and interpret the language
Once you have defined the language itself, there are several tools available to assist in creating a language parser. The classic tools are lex and yacc, and their open-source versions flex and bison.