microlisp 0.1.0
A small Scheme-subset interpreter in modern C.
Loading...
Searching...
No Matches
Data Fields
mclosure Struct Reference

#include <microlisp_internal.h>

Collaboration diagram for mclosure:
Collaboration graph
[legend]

Data Fields

mobj h
 
mvalue env
 Environment captured at lambda creation.
 
mvalue params
 Proper or improper list of parameter symbols.
 
mvalue body
 Non-empty list of body forms.
 
int variadic
 1 if params ends in a dotted rest-arg.
 
uint32_t arity_min
 Required positional params.
 

Field Documentation

◆ arity_min

uint32_t mclosure::arity_min

Required positional params.

◆ body

mvalue mclosure::body

Non-empty list of body forms.

◆ env

mvalue mclosure::env

Environment captured at lambda creation.

◆ h

mobj mclosure::h

◆ params

mvalue mclosure::params

Proper or improper list of parameter symbols.

◆ variadic

int mclosure::variadic

1 if params ends in a dotted rest-arg.


The documentation for this struct was generated from the following file: