Languages and Compilers
One of the primary goals of this site is to document my journey learning more about lower level computing. In the area of languages, I would like to achieve these goals:
- Design a simple language
- Write a compiler for my language
- Write a VM for my language
I think I'm going to start by writing a simple language that can be run on the Parrot VM. Parrot was written with the idea of others creating languages for it and is well documented. It should provide an ideal playground for taking the next step of creating a basic language.
Parrot was also written to more closely resemble hardware processors than some other VMs. This should help drive home some concepts about machine architecture that will no doubt help me later on when I move down to embedded development.
Once that's done I think I'll have enough knowledge to know where to start on writing a VM, and, I'll turn around and write a basic VM that can run the language I come up with.
Now to come up with the goals for my language...
Please leave your comments (OpenID accepted)!
