Good Resources for creating a programming language

Originally published at on January 3, 2021.

Image with the word “Programming” on it

1. Writing your own programming language and compiler with Python — Marcelo Andrade

I found this one very helpful, and really was what I used in the end to create my programming language. This uses python to create a language. View it here

2. Writing a Simple Programming Language from Scratch — By Evan Typanski

This is also really good. It explains a lot of the concepts in a language, and also gives really helpful diagrams, code snippets, etc. View it here.

3. Let’s Build a Programming Language

This is the first article in a series that walks you through the steps to create a language. This is another great resource to use and uses JS to create a language. View it here.


These are both great resources for lexers and parsers. I personally like RPLY, which is a direct port of PLY.

5. Make YOUR OWN Programming language

View it here.

Computer Programmer, Musician, and hobbyist. View on GitHub - Follow on DEV @Quantalabs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store