00001 00002 // Common Text Transformation Library 00003 // Copyright (C) 1997-2006 by Igor Kholodov. 00004 // 00005 // This library is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU Lesser General Public 00007 // License as published by the Free Software Foundation; either 00008 // version 2.1 of the License, or (at your option) any later version. 00009 // 00010 // This library is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 // Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public 00016 // License along with this library; if not, write to the 00017 // Free Software Foundation, Inc., 00018 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00019 // 00020 // mailto:cttl@users.sourceforge.net 00021 // http://sourceforge.net/projects/cttl/ 00023 00032 // cttl.h 00033 00034 #ifndef _CTTL_CTTL_H_INCLUDED_ 00035 #define _CTTL_CTTL_H_INCLUDED_ 00036 00038 #define CTTL_VERSION 207 00039 00040 //#define NDEBUG // define to stop assertions from being compiled 00041 //#define CTTL_TRACE_EVERYTHING // define to turn tracing on 00042 //#define CTTL_TRACE_EXPRESSION_TYPEID // define to show C++ specialized expression types 00043 //#define CTTL_TRACE_EXPRESSION_IMPL // define to show lexeme implementation file and line numbers 00044 00045 //#define CTTL_TRACE_RULES // define to turn light tracing on 00046 //#define CTTL_TRACE_TRIVIAL // define for trace messages only mode 00047 00048 #ifndef CTTL_STD_STRING 00049 00050 # define CTTL_STD_STRING std::string 00051 #endif // CTTL_STD_STRING 00052 00053 #ifndef CTTL_STD_WSTRING 00054 00055 # define CTTL_STD_WSTRING std::wstring 00056 #endif // CTTL_STD_WSTRING 00057 00059 #define CTTL_STD_CHAR CTTL_STD_STRING::value_type 00060 00062 #define CTTL_STD_WCHAR CTTL_STD_WSTRING::value_type 00063 00065 #define CTTL_STD_CIN_BUFFER_SIZE 255 00066 00067 #include <cassert> 00068 #include "edge.h" 00069 #include "mingw_specific.h" 00070 #include "xtl_primary.h" 00071 #include "xtl_quote.h" 00072 #include "xtl_sym.h" 00073 #include "xtl_quote_sym.h" 00074 #include "xtl_op.h" 00075 #include "xtl_op_speclzd.h" 00076 #include "xtl_metaphor.h" 00077 #include "xtl_quote_speclzd.h" 00078 #include "policy.h" 00079 00080 #endif // _CTTL_CTTL_H_INCLUDED_