build a simple compiler