TaPAS
0.2
|
Syntactical analyzer for the ARMOISE language. More...
Go to the source code of this file.
Functions | |
armoise_tree * | armoise_read_file (const char *filename) |
read ARMOISE formulas or definitions from the file specified by filename. More... | |
armoise_tree * | armoise_read_stream (FILE *stream, const char *input_name) |
read ARMOISE formulas or definitions from stream. input_name is the name of a location used mainly for messaging purpose (e.g errors). More... | |
armoise_tree * | armoise_read_string (const char *input) |
read ARMOISE formulas or definitions from the string input. More... | |
Syntactical analyzer for the ARMOISE language.
This module gathers functions that permit to analyze ARMOISE formulas read from a file, a stream or a string. All functions return a pointer to an armoise_tree or NULL if an error occurs.
Definition in file armoise-input.h.
armoise_tree* armoise_read_file | ( | const char * | filename | ) |
read ARMOISE formulas or definitions from the file specified by filename.
filename | the path to the file to read |
armoise_tree* armoise_read_stream | ( | FILE * | stream, |
const char * | input_name | ||
) |
read ARMOISE formulas or definitions from stream. input_name is the name of a location used mainly for messaging purpose (e.g errors).
stream | the input stream |
input_name | a location 'name' to indicate where errors occur. |
armoise_tree* armoise_read_string | ( | const char * | input | ) |
read ARMOISE formulas or definitions from the string input.
input | the string that contains the ARMOISE description. |