Edinburgh Speech Tools  2.1-release
siod.cc File Reference
#include <cstdio>
#include "EST_unix.h"
#include <cstdlib>
#include <cstring>
#include "EST_String.h"
#include "EST_THash.h"
#include "EST_StringTrie.h"
#include "EST_cutils.h"
#include "EST_strcasecmp.h"
#include "siod.h"
#include "siodp.h"
#include "siodeditline.h"
Include dependency graph for siod.cc:

Go to the source code of this file.

Functions

int siod_init (int heap_size)
 
void siod_tidy_up ()
 
LISP siod_get_lval (const char *name, const char *message)
 
LISP siod_set_lval (const char *name, LISP val)
 
LISP siod_assoc_str (const char *key, LISP alist)
 
LISP siod_member_str (const char *key, LISP list)
 
LISP siod_regex_member_str (const EST_String &key, LISP list)
 
LISP siod_member_int (const int key, LISP list)
 
int siod_llength (LISP list)
 
LISP siod_nth (int n, LISP list)
 
int siod_atomic_list (LISP list)
 
int siod_eof (LISP item)
 
LISP quote (LISP l)
 
LISP siod_last (LISP list)
 
int get_param_int (const char *name, LISP params, int defval)
 
float get_param_float (const char *name, LISP params, float defval)
 
const char * get_param_str (const char *name, LISP params, const char *defval)
 
LISP get_param_lisp (const char *name, LISP params, LISP defval)
 
LISP make_param_str (const char *name, const char *val)
 
LISP make_param_int (const char *name, int val)
 
LISP make_param_float (const char *name, float val)
 
LISP make_param_lisp (const char *name, LISP val)
 
EST_Regexmake_regex (const char *r)
 
LISP apply_hooks (LISP hooks, LISP arg)
 
LISP apply_hooks_right (LISP hooks, LISP args)
 
LISP apply (LISP func, LISP args)
 
LISP stringexplode (const char *str)
 
char ** siod_variable_generator (char *text, int length)
 
char ** siod_command_generator (char *text, int length)
 
void siod_list_to_strlist (LISP l, EST_StrList &a)
 
LISP siod_strlist_to_list (EST_StrList &a)
 

Variables

const char * repl_prompt
 

Function Documentation

int siod_init ( int  heap_size)

Definition at line 58 of file siod.cc.

void siod_tidy_up ( )

Definition at line 85 of file siod.cc.

LISP siod_get_lval ( const char *  name,
const char *  message 
)

Definition at line 94 of file siod.cc.

LISP siod_set_lval ( const char *  name,
LISP  val 
)

Definition at line 113 of file siod.cc.

LISP siod_assoc_str ( const char *  key,
LISP  alist 
)

Definition at line 125 of file siod.cc.

LISP siod_member_str ( const char *  key,
LISP  list 
)

Definition at line 167 of file siod.cc.

LISP siod_regex_member_str ( const EST_String key,
LISP  list 
)

Definition at line 179 of file siod.cc.

LISP siod_member_int ( const int  key,
LISP  list 
)

Definition at line 191 of file siod.cc.

int siod_llength ( LISP  list)

Definition at line 202 of file siod.cc.

LISP siod_nth ( int  n,
LISP  list 
)

Definition at line 214 of file siod.cc.

int siod_atomic_list ( LISP  list)

Definition at line 228 of file siod.cc.

int siod_eof ( LISP  item)

Definition at line 240 of file siod.cc.

LISP quote ( LISP  l)

Definition at line 252 of file siod.cc.

LISP siod_last ( LISP  list)

Definition at line 258 of file siod.cc.

int get_param_int ( const char *  name,
LISP  params,
int  defval 
)

Definition at line 271 of file siod.cc.

float get_param_float ( const char *  name,
LISP  params,
float  defval 
)

Definition at line 292 of file siod.cc.

const char* get_param_str ( const char *  name,
LISP  params,
const char *  defval 
)

Definition at line 313 of file siod.cc.

LISP get_param_lisp ( const char *  name,
LISP  params,
LISP  defval 
)

Definition at line 327 of file siod.cc.

LISP make_param_str ( const char *  name,
const char *  val 
)

Definition at line 341 of file siod.cc.

LISP make_param_int ( const char *  name,
int  val 
)

Definition at line 346 of file siod.cc.

LISP make_param_float ( const char *  name,
float  val 
)

Definition at line 351 of file siod.cc.

LISP make_param_lisp ( const char *  name,
LISP  val 
)

Definition at line 356 of file siod.cc.

EST_Regex& make_regex ( const char *  r)

Definition at line 361 of file siod.cc.

LISP apply_hooks ( LISP  hooks,
LISP  arg 
)

Definition at line 379 of file siod.cc.

LISP apply_hooks_right ( LISP  hooks,
LISP  args 
)

Definition at line 395 of file siod.cc.

LISP apply ( LISP  func,
LISP  args 
)

Definition at line 413 of file siod.cc.

LISP stringexplode ( const char *  str)

Definition at line 422 of file siod.cc.

char** siod_variable_generator ( char *  text,
int  length 
)

Definition at line 441 of file siod.cc.

char** siod_command_generator ( char *  text,
int  length 
)

Definition at line 481 of file siod.cc.

void siod_list_to_strlist ( LISP  l,
EST_StrList a 
)

Definition at line 520 of file siod.cc.

LISP siod_strlist_to_list ( EST_StrList a)

Definition at line 532 of file siod.cc.

Variable Documentation

const char* repl_prompt

Definition at line 43 of file siod.cc.