General Purpose Language to build a compiler for

Posted by Brownie on Stack Overflow See other posts from Stack Overflow or by Brownie
Published on 2009-01-20T12:29:03Z Indexed on 2010/05/03 0:37 UTC
Read the original article Hit count: 721

Filed under:

Inspired by Eric Sink's interview on the stackoverflow podcast I would like to build a full compiler in my spare time for the learning experience. My initial thought was to build a C compiler but I'm not sure whether it would take too much time.

I am wondering if there is a smaller general purpose language that would be more appropriate to implement as a first compiler effort? Or is a C implementation doable on a reasonable timescale (200 hrs)?

It is my intention to target the CLR.

© Stack Overflow or respective owner

Related posts about compiler