👩💻 Join our community of thousands of amazing developers!
Let’s write our own programming language. It’ll be fun and we will learn some key tools for processing structured data, performing semantic analysis, how to make a computer execute code, and all this using modern JavaScript. We will create five major components, each outlined in a separate article: Lexical analyzer Semantic parser Code generator Management and support Runtime library Today we will actually do two things: Define a first version of our language’ lexicon, and write a lexical anal...