added expansion-test
[mala.git] / std / std_parsers.h
blob21073c883d033d40c5bc7afc7242018b3614c771
1 /*
2 std_parsers.h - MaLa standard module parser declarations
4 Copyright (C) 2004, 2005, Christian Thaeter <chth@gmx.net>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 2 as
8 published by the Free Software Foundation.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, contact me.
20 #ifndef MALA_STD_PARSERS_H
21 #define MALA_STD_PARSERS_H
23 int
24 mala_null_parser (MalaEngine eng,
25 MalaStringListNode_ref pptr,
26 void * data);
28 int
29 mala_foreach_word_parser (MalaEngine eng,
30 MalaStringListNode_ref pptr,
31 void * data);
33 int
34 mala_substitute_parser (MalaEngine eng,
35 MalaStringListNode_ref pptr,
36 void * data);
38 int
39 mala_expand_parser (MalaEngine eng,
40 MalaStringListNode_ref pptr,
41 void * data);
43 int
44 mala_macro_parser (MalaEngine eng,
45 MalaStringListNode_ref pptr,
46 void * data);
48 int
49 mala_newline_parser (MalaEngine eng,
50 MalaStringListNode_ref pptr,
51 void * data);
53 int
54 mala_print_parser (MalaEngine eng,
55 MalaStringListNode_ref pptr,
56 void * data);
58 int
59 mala_literal_parser (MalaEngine eng,
60 MalaStringListNode_ref pptr,
61 void * data);
63 int
64 mala_not_parser (MalaEngine eng,
65 MalaStringListNode_ref pptr,
66 void * data);
68 int
69 mala_begin_parser (MalaEngine eng,
70 MalaStringListNode_ref pptr,
71 void * data);
73 int
74 mala_block_parser (MalaEngine eng,
75 MalaStringListNode_ref pptr,
76 void * data);
78 int
79 mala_macrodelete_parser (MalaEngine eng,
80 MalaStringListNode_ref pptr,
81 void * data);
83 int
84 mala_exception_parser (MalaEngine eng,
85 MalaStringListNode_ref pptr,
86 void * data);
88 int
89 mala_end_parser (MalaEngine eng,
90 MalaStringListNode_ref pptr,
91 void * data);
93 int
94 mala_macrodef_parser (MalaEngine eng,
95 MalaStringListNode_ref pptr,
96 void * data);
99 #endif /* MALA_STD_PARSERS_H */
102 // Local Variables:
103 // mode: C
104 // c-file-style: "gnu"
105 // End:
106 // arch-tag: c2ca34c9-8d6e-41d6-afa9-522434727f64
107 // end_of_file