TaPAS
0.2
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
src
armoise
armoise-input.h
Go to the documentation of this file.
1
/*
2
* armoise-input.h -- Syntactical analyzer for the ARMOISE language
3
* Copyright (C) 2007 J. Leroux, G. Point, LaBRI, CNRS UMR 5800,
4
* Universite Bordeaux I
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19
* 02110-1301 USA
20
*/
21
/*
22
* $Author: point $
23
* $Revision: 1.3 $
24
* $Date: 2008/01/24 16:20:53 $
25
* $Id: armoise-input.h,v 1.3 2008/01/24 16:20:53 point Exp $
26
*/
27
36
#ifndef __ARMOISE_INPUT_H__
37
# define __ARMOISE_INPUT_H__
38
39
# include <stdio.h>
40
# include <
armoise/armoise-tree.h
>
41
42
BEGIN_C_DECLS
43
55
extern
armoise_tree
*
56
armoise_read_file
(
const
char
*filename);
57
71
extern
armoise_tree
*
72
armoise_read_stream
(FILE *stream,
const
char
*input_name);
73
84
extern
armoise_tree
*
85
armoise_read_string
(
const
char
*input);
86
87
END_C_DECLS
88
89
90
#endif
/* ! __ARMOISE_INPUT_H__ */
armoise_read_file
armoise_tree * armoise_read_file(const char *filename)
read ARMOISE formulas or definitions from the file specified by filename.
armoise-tree.h
Syntactic tree for the Armoise language.
ccl_parse_tree_st
Structure encoding of a parse-tree node.
Definition:
ccl-parse-tree.h:107
armoise_read_stream
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 fo...
armoise_read_string
armoise_tree * armoise_read_string(const char *input)
read ARMOISE formulas or definitions from the string input.
Generated by
1.8.5