Login
7 branches 0 tags
Ben (Win10) Added opcodes for car/cdr/cons d3a01b6 3 years ago 619 Commits
nujel / lib / nujel.h
#ifndef NUJEL_LIB_NUJEL
#define NUJEL_LIB_NUJEL
#include "common.h"
#include "allocation/array.h"
#include "allocation/closure.h"
#include "allocation/garbage-collection.h"
#include "allocation/roots.h"
#include "allocation/string.h"
#include "allocation/val.h"

extern bool lVerbose;

extern lVal *lnfvQuote;

void      lInit             ();
lClosure *lNewRoot          ();
lVal     *lMap              (lClosure *c, lVal *v, lVal *(*func)(lClosure *,lVal *));
lVal     *lLambda           (lClosure *c, lVal *args, lVal *lambda);
lVal     *lApply            (lClosure *c, lVal *args, lVal *fun, lVal *funSym);
lClosure *lLoad             (lClosure *c, const char *expr);
void      lBreak            ();

#endif