From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Mitchell To: dan@cgsoftware.com Cc: martin@loewis.home.cs.tu-berlin.de, ttn@gnu.org, gcc@gcc.gnu.org Subject: Re: C/C++ front-end extension a la SWIG? Date: Thu, 29 Jun 2000 10:36:00 -0000 Message-id: <20000629103621E.mitchell@codesourcery.com> References: <20000629011412G.mitchell@codesourcery.com> X-SW-Source: 2000-06/msg00757.html >>>>> "Daniel" == Daniel Berlin writes: >> I rather strongly disagree -- at least if we're talking about >> the future. >> >> The G++ parser will always be very useful for one thing: >> parsing the code the same way that G++ does. For example, one >> can imagine hooking it into GDB so that you could type C++ >> expressions at GDB for interpretation; GDB would use the G++ >> front-end to parse the expression, and then interpret the tree >> structure. Daniel> I've looked at doing this before, to fix a few p roblems Daniel> with the gdb expression evaluator. The parser is too much Daniel> of a mess, no offense. I'm not insulted. What you say is becoming considerably less true. It is one of CodeSourcery's long-term goals to split out the G++ front-end in a considerably cleaner way. -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com