Post Scarcity
A prototype for a post scarcity programming environment
Loading...
Searching...
No Matches
meta.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

struct cons_pointer lisp_metadata (struct stack_frame *frame, struct cons_pointer frame_pointer, struct cons_pointer env)
 Function: get metadata describing my first argument.
 

Function Documentation

◆ lisp_metadata()

struct cons_pointer lisp_metadata ( struct stack_frame frame,
struct cons_pointer  frame_pointer,
struct cons_pointer  env 
)

Function: get metadata describing my first argument.

  • (metadata any)
Returns
a pointer to the metadata of my first argument, or nil if none.

Definition at line 20 of file meta.c.

References c_string_to_lisp_keyword(), c_type(), debug_dump_object(), DEBUG_EVAL, debug_print(), FUNCTIONTV, make_cons(), NIL, cons_space_object::payload, pointer2cell, READTV, SPECIALTV, cons_space_object::tag, and WRITETV.

Referenced by main().