Simple educational compiler