shelved ifelse parser, need --BLOCK first
[mala.git] / std / std_strings.c
blob4a6a9f2ae9c7cc923de9ffc57defe36bdb6b1919
1 /*
2 std_strings.c - MaLa standard module stringss
4 Copyright (C) 2006, Christian Thaeter <ct@pipapo.org>
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 #include <stdio.h>
21 #include <string.h>
22 #include <time.h>
24 #include "mala.h"
25 #include "std_strings.h"
28 static
29 mala_actioninit std_strings[] =
31 // TODO to strings module
32 MALA_PARSER_MACRO("--CAT",("%1%2")),
33 // MALA_PARSER_BRIEF("--CAT", "concatenates two words"),
34 // MALA_PARSER_HELP("--CAT", ("TODO")),
35 // MALA_PARSER_SIGNATURE_TYPE("--", ("")),
36 // MALA_PARSER_SIGNATURE_USAGE("--", ("")),
37 // MALA_PARSER_RESULT_TYPE("--", ("")),
38 // MALA_PARSER_RESULT_USAGE("--", ("")),
41 MALA_ACTIONS_END
44 int
45 mala_module_std_strings_init (MalaEngine self)
47 return mala_engine_actions_register (self, std_strings);
51 // Local Variables:
52 // mode: C
53 // c-file-style: "gnu"
54 // End: