Archived
1
0
Fork 0
This repository has been archived on 2023-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
lispy/lval/operations.h

19 lines
351 B
C

#ifndef LVAL_OPERATIONS
#define LVAL_OPERATIONS
#include "../mpc.h"
#include "base.h"
// Constructor for symbol data type
lval* lval_sym(char* s);
/*
Methods to read (parse AST), evaluate,
copy, and delete lval structures
*/
lval* lval_read(mpc_ast_t* t);
lval* lval_eval(lval* v);
void lval_del(lval* v);
lval* lval_copy(lval* v);
#endif