Files
imp/lib/include/am.h

20 lines
288 B
C

#ifndef AM_H
#define AM_H
#include "expr.h"
#include "store.h"
#define AM_STACK_SIZE 128U
typedef struct am {
expr_t *argl, *env, *expr, *val;
expr_t **sp, *stack[AM_STACK_SIZE];
store_t store;
} am_t;
void am_init(am_t *am);
void am_push(am_t *am);
void am_pop(am_t *am);
#endif