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
209 B

#ifndef PARSEH
#define PARSEH
#include <stdlib.h>
#include "expr.h"
#include "token.h"
expr_t *parse(char expect_rparen);
#ifdef UNIT_TESTS
#include <assert.h>
void test_expr_and_parse();
#endif
#endif