Infinity Calculator implementation for Assignment 2 in Computer Organization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
197 B

#ifndef EVALH
#define EVALH
#include "expr.h"
#include "infint.h"
infint_t *evaluate(expr_t *e);
#ifdef UNIT_TESTS
#include <assert.h>
#include "parse.h"
void test_evaluate();
#endif
#endif