dlisp-0.3.2/dlispparser.h File Reference

header for file dancer's lisp parser library More...

Data Structures

struct  dlisp_lispentry
 structure representing the lisp data. More...

Functions

dlisp_lispentrydlisp_read_lisp_bracket (FILE *f)
 Read inside bracket of lisp string.
dlisp_lispentrydlisp_read_lisp_text (FILE *f)
 read a string of lisp text, with many brackets, and create a tree representation of it.
void dlisp_free (dlisp_lispentry *e)
 Free memory allocated for the lisp data structure.

Detailed Description

header for file dancer's lisp parser library


Function Documentation

void dlisp_free ( dlisp_lispentry e  ) 

Free memory allocated for the lisp data structure.

References dlisp_lispentry::child, dlisp_free(), dlisp_lispentry::name, and dlisp_lispentry::next.

Referenced by dlisp_free(), and main().

dlisp_lispentry* dlisp_read_lisp_bracket ( FILE *  f  ) 

Read inside bracket of lisp string.

Read from a file stream, and return a dlisp_lispentry structure parsing the lisp construct.

Returns:
dlisp_lispentry
Parameters:
f Input file stream

References force_read_char(), dlisp_lispentry::next, peek_char(), read_lisp_entity(), and skip_spaces().

Referenced by read_lisp_entity().

dlisp_lispentry* dlisp_read_lisp_text ( FILE *  f  ) 

read a string of lisp text, with many brackets, and create a tree representation of it.

Returns:
dlisp_lispentry structure filled with parsed lisp data.
Parameters:
f Input file stream

References lisp_error(), dlisp_lispentry::next, peek_char(), read_lisp_entity(), and skip_spaces().

Referenced by main().


Generated on Fri Nov 6 05:19:39 2009 for dlisp API Reference by  doxygen 1.6.1