Functions | Variables
reader.c File Reference

Go to the source code of this file.

Functions

static void addunsolved (pointer labp, pointer *addr)
 
static pointer eval_read_cond (context *ctx, pointer expr)
 
static pointer findlabel (eusinteger_t labx)
 
int gcd (int u, int v)
 
void initreader (context *ctx)
 
int is_digit (int ch, int base)
 
pointer makelabref ()
 
void mul_int_big ()
 
static int nextch (context *ctx, pointer f)
 
pointer normalize_bignum ()
 
static pointer read1 (context *, pointer)
 
static pointer read2 (context *, pointer, int, int, int, char *, int)
 
static pointer read2 (context *ctx, pointer ins, int escaped, int multiescaped, int i, token, int colon)
 
static pointer read_cond_minus (context *ctx, pointer f)
 
static pointer read_cond_plus (context *ctx, pointer f)
 
pointer read_delimited_list (context *ctx, pointer f, int delim_char, token)
 
static pointer read_sharp_char (context *ctx, pointer f, eusinteger_t val, int subchar)
 
static pointer read_sharp_comment (context *ctx, pointer f, eusinteger_t val, int subchar)
 
static pointer read_sharp_eval (context *ctx, pointer f)
 
static pointer read_sharp_function (context *ctx, pointer f, eusinteger_t val, int subchar)
 
static pointer read_sharp_hex (context *ctx, pointer f, eusinteger_t val, int subchar)
 
static pointer read_sharp_object (context *ctx, pointer f)
 
static pointer read_sharp_octal (context *ctx, pointer f, eusinteger_t val, int subchar)
 
static pointer read_uninterned_symbol (context *ctx, pointer f, eusinteger_t val, int subchar, token)
 
static pointer readcomment (context *ctx, pointer f)
 
pointer reader (context *ctx, pointer f, pointer recursivep)
 
static pointer readfvector (context *ctx, pointer s)
 
static pointer readint (context *ctx, char *token, int len)
 
static pointer readivector (context *ctx, pointer s)
 
static pointer readlabdef (context *ctx, pointer f, eusinteger_t labx)
 
static pointer readlabref (context *ctx, pointer f, eusinteger_t val, int subchar)
 
static pointer readlist (context *ctx, pointer f, char ch, token)
 
static pointer readobject (context *ctx, pointer s)
 
static pointer readquote (context *ctx, pointer f)
 
static pointer readratio (context *ctx, char *token, int slash)
 
static pointer readrparen (context *ctx, pointer f)
 
static pointer readsharp (context *ctx, pointer f, Char ch, token)
 
static pointer readstring (context *ctx, pointer f, int terminator)
 
static pointer readstructure (context *ctx, pointer s)
 
static pointer readsymbol (context *ctx, int leng, int colon, token)
 
static pointer readvector (context *ctx, pointer f, int size)
 
static Char skip (context *ctx, pointer f, Char ch)
 
int strtol (char *str, char **ptr, int base)
 

Variables

enum ch_attr charattr [256]
 
enum ch_type chartype [256]
 
bytecurrent_syntax [MAXTHREAD]
 
pointer FEATURES
 
pointer oblabels [MAXTHREAD]
 
pointer QAND
 
pointer QNOT
 
pointer QOR
 
pointer QREADTABLE
 
static char * rcsid ="@(#)$Id$"
 
pointer READBASE
 

Function Documentation

static void addunsolved ( pointer  labp,
pointer addr 
)
static

Definition at line 264 of file reader.c.

static pointer eval_read_cond ( context ctx,
pointer  expr 
)
static

Definition at line 560 of file reader.c.

static pointer findlabel ( eusinteger_t  labx)
static

Definition at line 227 of file reader.c.

int gcd ( int  u,
int  v 
)

Definition at line 840 of file reader.c.

void initreader ( context ctx)

Definition at line 1034 of file reader.c.

int is_digit ( int  ch,
int  base 
)

Definition at line 770 of file reader.c.

pointer makelabref ( )
void mul_int_big ( )
static int nextch ( context ctx,
pointer  f 
)
static

Definition at line 215 of file reader.c.

pointer normalize_bignum ( )
static pointer read1 ( context ctx,
pointer  ins 
)
static

Definition at line 968 of file reader.c.

static pointer read2 ( context ,
pointer  ,
int  ,
int  ,
int  ,
char *  ,
int   
)
static
static pointer read2 ( context ctx,
pointer  ins,
int  escaped,
int  multiescaped,
int  i,
token  ,
int  colon 
)
static

Definition at line 864 of file reader.c.

static pointer read_cond_minus ( context ctx,
pointer  f 
)
static

Definition at line 596 of file reader.c.

static pointer read_cond_plus ( context ctx,
pointer  f 
)
static

Definition at line 585 of file reader.c.

pointer read_delimited_list ( context ctx,
pointer  f,
int  delim_char,
token   
)

Definition at line 780 of file reader.c.

static pointer read_sharp_char ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar 
)
static

Definition at line 458 of file reader.c.

static pointer read_sharp_comment ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar 
)
static

Definition at line 466 of file reader.c.

static pointer read_sharp_eval ( context ctx,
pointer  f 
)
static

Definition at line 552 of file reader.c.

static pointer read_sharp_function ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar 
)
static

Definition at line 531 of file reader.c.

static pointer read_sharp_hex ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar 
)
static

Definition at line 485 of file reader.c.

static pointer read_sharp_object ( context ctx,
pointer  f 
)
static

Definition at line 607 of file reader.c.

static pointer read_sharp_octal ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar 
)
static

Definition at line 518 of file reader.c.

static pointer read_uninterned_symbol ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar,
token   
)
static

Definition at line 538 of file reader.c.

static pointer readcomment ( context ctx,
pointer  f 
)
static

Definition at line 826 of file reader.c.

pointer reader ( context ctx,
pointer  f,
pointer  recursivep 
)

Definition at line 1016 of file reader.c.

static pointer readfvector ( context ctx,
pointer  s 
)
static

Definition at line 359 of file reader.c.

static pointer readint ( context ctx,
char *  token,
int  len 
)
static

Definition at line 738 of file reader.c.

static pointer readivector ( context ctx,
pointer  s 
)
static

Definition at line 334 of file reader.c.

static pointer readlabdef ( context ctx,
pointer  f,
eusinteger_t  labx 
)
static

Definition at line 237 of file reader.c.

static pointer readlabref ( context ctx,
pointer  f,
eusinteger_t  val,
int  subchar 
)
static

Definition at line 278 of file reader.c.

static pointer readlist ( context ctx,
pointer  f,
char  ch,
token   
)
static

Definition at line 812 of file reader.c.

static pointer readobject ( context ctx,
pointer  s 
)
static

Definition at line 383 of file reader.c.

static pointer readquote ( context ctx,
pointer  f 
)
static

Definition at line 818 of file reader.c.

static pointer readratio ( context ctx,
char *  token,
int  slash 
)
static

Definition at line 849 of file reader.c.

static pointer readrparen ( context ctx,
pointer  f 
)
static

Definition at line 833 of file reader.c.

static pointer readsharp ( context ctx,
pointer  f,
Char  ch,
token   
)
static

Definition at line 625 of file reader.c.

static pointer readstring ( context ctx,
pointer  f,
int  terminator 
)
static

Definition at line 652 of file reader.c.

static pointer readstructure ( context ctx,
pointer  s 
)
static

Definition at line 422 of file reader.c.

static pointer readsymbol ( context ctx,
int  leng,
int  colon,
token   
)
static

Definition at line 681 of file reader.c.

static pointer readvector ( context ctx,
pointer  f,
int  size 
)
static

Definition at line 294 of file reader.c.

static Char skip ( context ctx,
pointer  f,
Char  ch 
)
static

Definition at line 198 of file reader.c.

int strtol ( char *  str,
char**  ptr,
int  base 
)

Definition at line 717 of file reader.c.

Variable Documentation

enum ch_attr charattr[256]

Definition at line 115 of file reader.c.

enum ch_type chartype[256]

Definition at line 49 of file reader.c.

byte* current_syntax[MAXTHREAD]

Definition at line 41 of file reader.c.

pointer FEATURES

Definition at line 172 of file eus.c.

pointer oblabels[MAXTHREAD]

Definition at line 42 of file reader.c.

pointer QAND

Definition at line 127 of file eus.c.

pointer QNOT

Definition at line 127 of file eus.c.

pointer QOR

Definition at line 127 of file eus.c.

pointer QREADTABLE

Definition at line 172 of file eus.c.

char* rcsid ="@(#)$Id$"
static

Definition at line 9 of file reader.c.

pointer READBASE

Definition at line 172 of file eus.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54