Write a Compiler with ruby