From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dskr Newsgroups: gmane.lisp.guile.user Subject: more spam on extension language fu Date: Wed, 5 Dec 2007 15:04:52 -0500 Message-ID: <0BDB53DA-6AE5-43D3-996B-1BDBC7A0F94D@mac.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196885147 20695 80.91.229.12 (5 Dec 2007 20:05:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2007 20:05:47 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 05 21:05:55 2007 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J00Un-0003GK-By for guile-user@m.gmane.org; Wed, 05 Dec 2007 21:05:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J00UW-0006RD-5t for guile-user@m.gmane.org; Wed, 05 Dec 2007 15:05:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J00UQ-0006Mk-54 for guile-user@gnu.org; Wed, 05 Dec 2007 15:05:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J00UO-0006KH-SC for guile-user@gnu.org; Wed, 05 Dec 2007 15:05:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J00UO-0006Jt-NB for guile-user@gnu.org; Wed, 05 Dec 2007 15:05:00 -0500 Original-Received: from mea195e42.tmodns.net ([66.94.25.234] helo=atmailx05.t-mobile.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J00UN-0001ka-JY for guile-user@gnu.org; Wed, 05 Dec 2007 15:05:00 -0500 Original-Received: from 186.69.255.10.in-addr.arpa (186.69.255.10.in-addr.arpa [10.255.69.186]) by atmailx05.t-mobile.com (8.14.1/8.12.11) with ESMTP id lB5JxVPA011347 for ; Wed, 5 Dec 2007 11:59:33 -0800 X-Mailer: Apple Mail (2.915) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=3.1.0-0708230000 definitions=main-0712050098 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:6338 Archived-At: Hi, One of the things I value most about Guile as an extension language is the terrific set of facilities for introspection available. I've always thought the included readline support was vile (mostly due to readline itself) and so I've been using my own pure-guile completion library for about 7 years. => (tab-complete-string "(socke" (current-module)) "(socket" => (tab-complete-string "(socket " (current-module)) "(socket family" => (tab-complete-string "(socket AF_IN" (current-module)) "(socket AF_INET" => (tab-complete-string "(socket AF_INET SOCK_ST" (current-module)) "(socket AF_INET SOCK_STREAM" The big plus for me is that it has let me build GTK and AJAX interfaces that get the benefit of completions without the C-fu and fport orientation of the readline stuff. The fact that this facility can be built in Scheme is a testament to Guile. What's the point? The point is that Guile is my extension language and also my interface for navigating my own sprawling code. I'm concerned that many of the changes that would push Guile down the performance path also impact the terrific and underused introspection features that Guile already has. Tab completion is a parlor trick. The fact that environments are inspectable and that procedure source is recoverable mean that many powerful lexical analysis tricks are easier in Guile than in many other Scheme environments. Cheers, Dan Ridge _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user