Category:

Building a Language Interpreter in JavaScript - Part 3
Welcome to part 3 of building an interpreter in pure JavaScript. This is the final part of a journey to build an interpreter in pure JavaScript. In this part, we will use the statement structure we designed and interpret it to make our language perform some actual work.
Continue Reading

Building a Language Interpreter in JavaScript - Part 2
A parser is an algorithm that receives the tokens, runs them against the language's grammar, and makes sense of them. In the end, we get a nice array of structured statements which we can easily parse and make use of in our interpreter.
Continue Reading

Building a Language Interpreter in JavaScript - Part 1
In this article series, we will build a usable language interpreter using pure JavaScript. Keep in mind that we will cover the most important (and most fun) parts of building a programming language. We will not concentrate on things like optimization or emitting bytecode.
Continue Reading
Don't miss out on our latest insights