Compiler

So You Want to Build a Language VM - Part 20 - Benchmarks

Adds in Criterion to do benchmarks

Doh

We’ve been having so much fun, we haven’t written any benchmarks! Though it isn’t the most exciting thing to write, they are important. == Benchmarks There’s two things to understand about benchmarks:

So You Want to Build a Language VM - Part 19 - Starting on Palladium

Begins building the higher level language and compiler

Introduction

If you’ve been following the development of Iridium, you know how heavily it uses Nom to parse the assembly language. I hope you liked it, because we’re going to be using Nom for this as well. =)

In this tutorial, we’re going to start creating a language called Palladium that will compile down to the assembly code we’ve been using. Before we get started, please remember…​