00001 00002 /****************************************************************************** 00003 * MODULE : lisp_syntax.hpp 00004 * DESCRIPTION: Parsing and printing expressions in lisp form 00005 * COPYRIGHT : (C) 2005 Joris van der Hoeven 00006 ******************************************************************************* 00007 * This software falls under the GNU general public license and comes WITHOUT 00008 * ANY WARRANTY WHATSOEVER. See the file $TEXMACS_PATH/LICENSE for more details. 00009 * If you don't have this file, write to the Free Software Foundation, Inc., 00010 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00011 ******************************************************************************/ 00012 00013 #ifndef __SYNTAX_HPP 00014 #define __SYNTAX_HPP 00015 #include <basix/string.hpp> 00016 #include <basix/syntactic.hpp> 00017 00019 00020 namespace mmx { 00021 00022 generic parse_lisp (const string& s, bool unquote_flag= false); 00023 string as_lisp (const generic& g, bool quote_flag= true); 00024 string flatten_as_lisp (const generic& g); 00025 00026 } // namespace mmx 00027 #endif // __SYNTAX_HPP