From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8933 invoked by alias); 14 Feb 2007 15:41:21 -0000 Received: (qmail 8920 invoked by uid 22791); 14 Feb 2007 15:41:20 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Feb 2007 15:41:11 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-127-141.inter.net.il [84.229.127.141]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id GAX93189 (AUTH halo1); Wed, 14 Feb 2007 17:41:03 +0200 (IST) Date: Wed, 14 Feb 2007 15:42:00 -0000 Message-Id: From: Eli Zaretskii To: Jim Blandy CC: gdb@sourceware.org In-reply-to: (message from Jim Blandy on Tue, 13 Feb 2007 11:00:39 -0800) Subject: Re: GDB and scripting languages - which Reply-to: Eli Zaretskii References: <20070108222005.GA27451@nevyn.them.org> <20070210203307.GA27502@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00123.txt.bz2 > Cc: gdb@sourceware.org > From: Jim Blandy > Date: Tue, 13 Feb 2007 11:00:39 -0800 > > Eli Zaretskii writes: > >> From: Jim Blandy > >> Date: Mon, 12 Feb 2007 09:25:09 -0800 > >> > >> There's a lot about Lua I like. However, it doesn't have exceptions. > > > > I think you are mistaken: Lua does have exceptions, it just calls them > > ``fallbacks''. > > When I search the manual at http://www.lua.org/manual/5.1/, I don't > see any references to 'fallbacks'. The Lua HISTORY file mentions > them, but they seem to be an operator overloading mechanism, not an > exception-handling mechanism. Where can I find documentation on > these? Here: http://www.lua.org/spe.html I don't know why this feature isn't mentioned in the current manual, maybe it was renamed. > Even if the exception issue is worked out, though, I'm still concerned > that Lua doesn't have as much momentum as Python. Python's wealth of > other libraries available (gui; graphing; networking) brings a lot of > potential with it. And there are a lot of programmers out there who > could just start scripting GDB the day Python support is committed. Python is a full-fledged programming language, not a language created for extending other programs. Do you really think we need networking, graphics, and GUI in GDB scripts? That sounds like an awful overhead. As for familiarity with it, the GDB scripting language we have now is even less widespread than Lua.