Creating a toy language with the Python, LLVM and the IPython web notebook, part 3

Python

Video is ready, Click Here to View ×


On Friday afternoons I try to learn how to do something new with either a program, a programming library or a new programming language. This is mostly for my own education but I’ve decided to record them, edit out the worst of the ‘uhms’ and ‘ahs’ and upload them for all to see. First in line is a series of videos of me creating a toy programming language with its own compiler using LLVM, Python and the IPython web notebook.

In this part we get to the point where we’ve JIT-ed an expression…

4 thoughts on “Creating a toy language with the Python, LLVM and the IPython web notebook, part 3

  1. Would it be possible to continue with this project, possible adding in a little more advanced math, but still on the elementary end of the spectrum such as simple algebra, geometry, trig, diff calc and int calc so that some more tokens can be recognized and be used as part of the program. Would it also be possible to convert the output to assy language, hex or binary? Outputting a parse tree also comes to mind. Thanks so much for all you have done.

Leave a Reply

Your email address will not be published. Required fields are marked *