2 std_init.c - MaLa standard module initialization table
4 Copyright (C) 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.
24 #include "std_types.h"
27 mala_actioninit std_types
[] =
29 MALA_PARSER_TYPE("WORD", "Just any word"),
30 MALA_PARSER_TYPE("MACRO", "Any Action which will expand to one or more words"),
32 MALA_PARSER_TYPE("ACTION", "Name of an action"),
33 MALA_PARSER_TYPE("SEQUENCE", "a Mala program sequence"),
34 MALA_PARSER_TYPE("WORD-OR-BLOCK","Single word or block delimited by --BEGIN and --END"),
35 MALA_PARSER_TYPE("DEFINED-ACTION","Name of an already defined action"),
36 MALA_PARSER_TYPE("VOID","nothing"),
37 MALA_PARSER_TYPE("TYPE","Some Datatype"),
39 MALA_PARSER_TYPE("BLOCK","TODO"),
41 MALA_PARSER_TYPE("WORDS","a sequence of words"),
42 MALA_PARSER_TYPE("END","--END"),
44 MALA_PARSER_TYPE("ERROR","Will raise an error"),
46 MALA_PARSER_TYPE("FILE-EXISTING","File which already exists"),
47 MALA_PARSER_TYPE("FILE-NEW","File which does not exist"),
48 MALA_PARSER_TYPE("FILE","Some File"),
50 MALA_PARSER_TYPE("DIR-EXISTING","Directory wich already exists"),
51 MALA_PARSER_TYPE("DIR-NEW","Directory which does not exist"),
52 MALA_PARSER_TYPE("DIR","Directory"),
54 MALA_PARSER_TYPE("INTEGER","an integer Number"),
55 MALA_PARSER_TYPE("STRING","a String"),
61 mala_module_std_types_init (MalaEngine self
)
63 return mala_engine_actions_register (self
, std_types
);
69 // c-file-style: "gnu"
71 // arch-tag: 0069b6ab-8173-4cb0-98d3-92c621bdeac5