updated NEWS
[mala.git] / std / std_parsers.h
blob1a47f53c7a4297ba3cebab3b0b3142fdf4937eee
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 #define MALA_PARSER_DEFINE(name) \
24 int mala_##name##_parser (MalaEngine eng, \
25 MalaStringListNode_ref pptr, \
26 void * data)
28 MALA_PARSER_DEFINE(if);
29 MALA_PARSER_DEFINE(else);
30 MALA_PARSER_DEFINE(defined);
31 MALA_PARSER_DEFINE(pass);
32 MALA_PARSER_DEFINE(trace);
33 MALA_PARSER_DEFINE(sleep);
34 MALA_PARSER_DEFINE(foreach_word);
35 MALA_PARSER_DEFINE(substitute);
36 MALA_PARSER_DEFINE(expand);
37 MALA_PARSER_DEFINE(macro);
38 MALA_PARSER_DEFINE(literal);
39 MALA_PARSER_DEFINE(not);
40 MALA_PARSER_DEFINE(begin);
41 MALA_PARSER_DEFINE(block);
42 MALA_PARSER_DEFINE(macrodelete);
43 MALA_PARSER_DEFINE(exception);
44 MALA_PARSER_DEFINE(end);
45 MALA_PARSER_DEFINE(macrodef);
46 //MALA_PARSER_DEFINE();
49 #undef MALA_PARSER_DEFINE
51 #endif /* MALA_STD_PARSERS_H */
54 // Local Variables:
55 // mode: C
56 // c-file-style: "gnu"
57 // End:
58 // arch-tag: c2ca34c9-8d6e-41d6-afa9-522434727f64
59 // end_of_file