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

◆ addunsolved()

static void addunsolved ( pointer  labp,
pointer addr 
)
static

Definition at line 264 of file reader.c.

◆ eval_read_cond()

static pointer eval_read_cond ( context ctx,
pointer  expr 
)
static

Definition at line 560 of file reader.c.

◆ findlabel()

static pointer findlabel ( eusinteger_t  labx)
static

Definition at line 227 of file reader.c.

◆ gcd()

int gcd ( int  u,
int  v 
)

Definition at line 840 of file reader.c.

◆ initreader()

void initreader ( context ctx)

Definition at line 1034 of file reader.c.

◆ is_digit()

int is_digit ( int  ch,
int  base 
)

Definition at line 770 of file reader.c.

◆ makelabref()

pointer makelabref ( )

◆ mul_int_big()

void mul_int_big ( )

◆ nextch()

static int nextch ( context ctx,
pointer  f 
)
static

Definition at line 215 of file reader.c.

◆ normalize_bignum()

pointer normalize_bignum ( )

◆ read1()

static pointer read1 ( context ctx,
pointer  ins 
)
static

Definition at line 968 of file reader.c.

◆ read2() [1/2]

static pointer read2 ( context ,
pointer  ,
int  ,
int  ,
int  ,
char *  ,
int   
)
static

◆ read2() [2/2]

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.

◆ read_cond_minus()

static pointer read_cond_minus ( context ctx,
pointer  f 
)
static

Definition at line 596 of file reader.c.

◆ read_cond_plus()

static pointer read_cond_plus ( context ctx,
pointer  f 
)
static

Definition at line 585 of file reader.c.

◆ read_delimited_list()

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

Definition at line 780 of file reader.c.

◆ read_sharp_char()

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

Definition at line 458 of file reader.c.

◆ read_sharp_comment()

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

Definition at line 466 of file reader.c.

◆ read_sharp_eval()

static pointer read_sharp_eval ( context ctx,
pointer  f 
)
static

Definition at line 552 of file reader.c.

◆ read_sharp_function()

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

Definition at line 531 of file reader.c.

◆ read_sharp_hex()

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

Definition at line 485 of file reader.c.

◆ read_sharp_object()

static pointer read_sharp_object ( context ctx,
pointer  f 
)
static

Definition at line 607 of file reader.c.

◆ read_sharp_octal()

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

Definition at line 518 of file reader.c.

◆ read_uninterned_symbol()

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

Definition at line 538 of file reader.c.

◆ readcomment()

static pointer readcomment ( context ctx,
pointer  f 
)
static

Definition at line 826 of file reader.c.

◆ reader()

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

Definition at line 1016 of file reader.c.

◆ readfvector()

static pointer readfvector ( context ctx,
pointer  s 
)
static

Definition at line 359 of file reader.c.

◆ readint()

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

Definition at line 738 of file reader.c.

◆ readivector()

static pointer readivector ( context ctx,
pointer  s 
)
static

Definition at line 334 of file reader.c.

◆ readlabdef()

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

Definition at line 237 of file reader.c.

◆ readlabref()

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

Definition at line 278 of file reader.c.

◆ readlist()

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

Definition at line 812 of file reader.c.

◆ readobject()

static pointer readobject ( context ctx,
pointer  s 
)
static

Definition at line 383 of file reader.c.

◆ readquote()

static pointer readquote ( context ctx,
pointer  f 
)
static

Definition at line 818 of file reader.c.

◆ readratio()

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

Definition at line 849 of file reader.c.

◆ readrparen()

static pointer readrparen ( context ctx,
pointer  f 
)
static

Definition at line 833 of file reader.c.

◆ readsharp()

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

Definition at line 625 of file reader.c.

◆ readstring()

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

Definition at line 652 of file reader.c.

◆ readstructure()

static pointer readstructure ( context ctx,
pointer  s 
)
static

Definition at line 422 of file reader.c.

◆ readsymbol()

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

Definition at line 681 of file reader.c.

◆ readvector()

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

Definition at line 294 of file reader.c.

◆ skip()

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

Definition at line 198 of file reader.c.

◆ strtol()

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

Definition at line 717 of file reader.c.

Variable Documentation

◆ charattr

enum ch_attr charattr[256]

Definition at line 115 of file reader.c.

◆ chartype

enum ch_type chartype[256]

Definition at line 49 of file reader.c.

◆ current_syntax

byte* current_syntax[MAXTHREAD]

Definition at line 41 of file reader.c.

◆ FEATURES

pointer FEATURES

Definition at line 172 of file eus.c.

◆ oblabels

pointer oblabels[MAXTHREAD]

Definition at line 42 of file reader.c.

◆ QAND

pointer QAND

Definition at line 30 of file reader.c.

◆ QNOT

pointer QNOT

Definition at line 127 of file eus.c.

◆ QOR

pointer QOR

Definition at line 30 of file reader.c.

◆ QREADTABLE

pointer QREADTABLE

Definition at line 29 of file reader.c.

◆ rcsid

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

Definition at line 9 of file reader.c.

◆ READBASE

pointer READBASE

Definition at line 29 of file reader.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43