Post Scarcity
A prototype for a post scarcity programming environment
Loading...
Searching...
No Matches
print.h
Go to the documentation of this file.
1/**
2 * print.h
3 *
4 * First pass at a printer, for bootstrapping.
5 *
6 *
7 * (c) 2017 Simon Brooke <simon@journeyman.cc>
8 * Licensed under GPL version 2.0, or, at your option, any later version.
9 */
10
11#include <ctype.h>
12#include <stdio.h>
13
14#include "io/fopen.h"
15
16#ifndef __print_h
17#define __print_h
18
19struct cons_pointer print( URL_FILE * output, struct cons_pointer pointer );
20void println( URL_FILE * output );
21
22struct cons_pointer lisp_print( struct stack_frame *frame,
23 struct cons_pointer frame_pointer,
24 struct cons_pointer env );
25struct cons_pointer lisp_println( struct stack_frame *frame,
26 struct cons_pointer frame_pointer,
27 struct cons_pointer env );
28
29
30#endif
An indirect pointer to a cons cell.
A stack frame.
struct cons_pointer lisp_println(struct stack_frame *frame, struct cons_pointer frame_pointer, struct cons_pointer env)
(prinln out-stream): Print a new line character to out-stream, if it is specified and is an output st...
Definition print.c:343
void println(URL_FILE *output)
Definition print.c:329
struct cons_pointer print(URL_FILE *output, struct cons_pointer pointer)
print.h
Definition print.c:156
struct cons_pointer lisp_print(struct stack_frame *frame, struct cons_pointer frame_pointer, struct cons_pointer env)
Function; print one complete lisp expression and return NIL.
Definition print.c:295