# Mathspp Blog

### A blog dedicated to mathematics and programming!

This blog has a really interesting assortment of articles on mathematics and programming. You can use the tags to your right to find topics that interest you, or you may want to have a look at

You should also subscribe to the blog newsletter.

##### TIL #028 – disassemble Python.

Today I learned how to disassemble Python code with the module dis.

##### Let's build a simple interpreter for APL - part 4

In part 4 of this series we add some unit testing, improve our tokenizer and implement the primitives ⍴ and ⍤.

##### Implementing an interpreter in 14 lines of Python.

In this blog post I'll show you how you can write a full interpreter for the brainf*ck programming language in just 14 lines of Python. Be prepared, however, to see some unconventional Python code!

##### Let's build a simple interpreter for APL - part 3 - the array model

In this blog post we will go over some significant changes, from implementing APL's array model to introducing dyadic operators!

##### Let's build a simple interpreter for APL - part 2

Today is the day! Today is the day we take our APL programs and interpret them, so that something like ÷ 1 2 3 -⍨ 1.1 2.2 3.3 can output 10 5 3.33333333.

##### Let's build a simple interpreter for APL - part 1

Let's build a simple APL interpreter! APL is an array-oriented programming language I picked up recently. The ease with which I can write code related to mathematics, its strange built-ins (which look like ⍴, ⍨, ⍒ or ⍣) and the fact that it is executed from right to left make it a fresh learning experience!

##### Creating a programming language from scratch

This blog post tells the short story of how I wrote a simple interpreter for a toy programming language!