cheax
Lisp dialect with C API
chx_func Struct Reference

Function or macro type. More...

#include <cheax.h>

Collaboration diagram for chx_func:

Data Fields

unsigned rtflags
 
struct chx_value args
 
struct chx_listbody
 
struct chx_env * lexenv
 

Detailed Description

Function or macro type.

Functions are created with the (fn) built-in, and cannot be constructed through the C API. Macros are created through the (defmacro) built-in, and live only inside a special-purpose environment.

Functions and macros cannot be constructed through the C API.

See also
CHEAX_FUNC, cheax_apply(), cheax_macroexpand(), cheax_macroexpand_once()

Field Documentation

◆ rtflags

unsigned chx_func::rtflags

◆ args

struct chx_value chx_func::args

Lambda argument list expression.

◆ body

struct chx_list* chx_func::body

Lambda body.

◆ lexenv

struct chx_env* chx_func::lexenv

Lexical environment.

Note
Internal use only.

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