try to write a simple compiler by c#