simple compiler writed by java