first draft of a fake compiler