Files
imp/lib/include/am.h

21 lines
325 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, *unev, *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);
void am_append_arg(am_t *am);
#endif