Sunday, May 3, 2015

A C++ interpreter/compiler with an LLVM back-end

After an old-school bootstrap of the compiler I wrote, I decided I did it all wrong. Doing it right would imply creating an interpreter/compiler in C/C++.

The major lesson here: Despite academic enthusiasm, old-skool bootstrapping is awful and extending a bootstrap compiler is even more awful.

The major hurdle I needed to take: my language is that good that I didn't feel like doing it all in C/C++ again.

Last week, I took the plunge. Starting on an interpreter/compiler in C++ which will hopefully have an LLVM back-end.

There go another few years of my life. I feel good about it.

No comments:

Post a Comment