header for file dancer's lisp parser library More...
Data Structures | |
| struct | dlisp_lispentry |
| structure representing the lisp data. More... | |
Functions | |
| dlisp_lispentry * | dlisp_read_lisp_bracket (FILE *f) |
| Read inside bracket of lisp string. | |
| dlisp_lispentry * | dlisp_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. | |
header for file dancer's lisp parser library
| 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.
| 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.
| f | Input file stream |
References lisp_error(), dlisp_lispentry::next, peek_char(), read_lisp_entity(), and skip_spaces().
Referenced by main().
1.6.1