microlisp 0.1.0
A small Scheme-subset interpreter in modern C.
Loading...
Searching...
No Matches
Functions
env.c File Reference
#include "microlisp_internal.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for env.c:

Functions

static microlisp_status env_grow (ml_state *s, menv *e)
 
microlisp_status ml_env_define (ml_state *s, mvalue env_v, mvalue name, mvalue value)
 
microlisp_status ml_env_set (ml_state *s, mvalue env_v, mvalue name, mvalue value)
 
microlisp_status ml_env_lookup (const ml_state *s, mvalue env_v, mvalue name, mvalue *out)
 

Function Documentation

◆ env_grow()

static microlisp_status env_grow ( ml_state s,
menv e 
)
static

◆ ml_env_define()

microlisp_status ml_env_define ( ml_state s,
mvalue  env_v,
mvalue  name,
mvalue  value 
)

◆ ml_env_lookup()

microlisp_status ml_env_lookup ( const ml_state s,
mvalue  env_v,
mvalue  name,
mvalue out 
)

◆ ml_env_set()

microlisp_status ml_env_set ( ml_state s,
mvalue  env_v,
mvalue  name,
mvalue  value 
)