Post Scarcity
A prototype for a post scarcity programming environment
Loading...
Searching...
No Matches
repl.c File Reference
#include <stdbool.h>
#include <stdio.h>
#include <wchar.h>
#include <signal.h>
#include "memory/consspaceobject.h"
#include "debug.h"
#include "ops/intern.h"
#include "ops/lispops.h"
#include "memory/stack.h"
Include dependency graph for repl.c:

Go to the source code of this file.

Functions

void int_handler (int dummy)
 Handle an interrupt signal.
 
void repl ()
 The read/eval/print loop.
 

Function Documentation

◆ int_handler()

void int_handler ( int  dummy)

Handle an interrupt signal.

Parameters
dummy

Definition at line 26 of file repl.c.

Referenced by repl().

◆ repl()

void repl ( )

The read/eval/print loop.

Definition at line 33 of file repl.c.

References consp, debug_print(), DEBUG_REPL, dec_ref(), get_stack_frame(), int_handler(), lisp_repl(), make_cons(), make_stack_frame(), NIL, nilp, and oblist.

Referenced by main().