A rudimentary compiler for a simple mathematics language in C