This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C/C++ front-end extension a la SWIG?


>>>>> "Daniel" == Daniel Berlin <dan@cgsoftware.com> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]