From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Linas Vepstas Newsgroups: gmane.lisp.guile.user Subject: Re: calling scheme procedures by name from C Date: Sun, 2 Aug 2009 14:15:49 -0500 Message-ID: <3ae3aa420908021215k106da181w6f3c1292718c8f99@mail.gmail.com> References: <1249204627.2918.56.camel@debianrts.home> <3ae3aa420908020417nd62c8ffw28fec741c26a81cc@mail.gmail.com> <1249225244.12325.8835.camel@localhost.localdomain> <3ae3aa420908021022y1cc35168y63c697fa79db2dd2@mail.gmail.com> <4A75D612.7010801@domob.eu> Reply-To: linasvepstas@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249240570 27911 80.91.229.12 (2 Aug 2009 19:16:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 19:16:10 +0000 (UTC) Cc: guile-user@gnu.org, richard.shann@virgin.net To: Daniel Kraft Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 02 21:16:04 2009 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 1MXgXI-00008Z-OM for guile-user@m.gmane.org; Sun, 02 Aug 2009 21:16:01 +0200 Original-Received: from localhost ([127.0.0.1]:42726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXgXI-0002Rx-4K for guile-user@m.gmane.org; Sun, 02 Aug 2009 15:16:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXgXC-0002PT-QJ for guile-user@gnu.org; Sun, 02 Aug 2009 15:15:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXgX8-0002Lt-Sm for guile-user@gnu.org; Sun, 02 Aug 2009 15:15:54 -0400 Original-Received: from [199.232.76.173] (port=47192 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXgX8-0002Lk-QY for guile-user@gnu.org; Sun, 02 Aug 2009 15:15:50 -0400 Original-Received: from mail-yw0-f189.google.com ([209.85.211.189]:41146) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXgX8-0007LL-Gw for guile-user@gnu.org; Sun, 02 Aug 2009 15:15:50 -0400 Original-Received: by ywh27 with SMTP id 27so3407585ywh.26 for ; Sun, 02 Aug 2009 12:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Fqool0Y2MtNfeRSqJv8bpOItQtPxKFZm5VPZe4+mJ7w=; b=oBCB5HDKhR+9BCV0puCZb+eV+mFyGp/TuCr214cfYUdco6dPY0STzbxdnoKCMeJP5t uYeX+9TAcp0EWMOAwiN4B7PfOfQXcdldeRnS6/a0zoKYNWz+87fKGm3tt3nmAKn5FFfM WrS+fNvdquwr1CyrNykvRc0ns1M47lWM5XJVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=tzd5FiNXqIlmc4RKJtEiF+ygslNgdAmcDFWbZVQt3v7E45/2eqN10QUXyZdCX1X62w xwpgaWR4yBHlzqK4TZyN8FHKdWgaAds1w62RM15UMcYokMMiuf35kWFpB0jgecI4oSKh 2I5uzM5bWCIAAeScKLTtoizLWYW56RcD5/rkk= Original-Received: by 10.100.228.13 with SMTP id a13mr5799462anh.105.1249240549069; Sun, 02 Aug 2009 12:15:49 -0700 (PDT) In-Reply-To: <4A75D612.7010801@domob.eu> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:7390 Archived-At: 2009/8/2 Daniel Kraft : > Linas Vepstas wrote: >> >> 2009/8/2 Mike Gran : >>> >>> Oh my oh my. =C2=A0I wrote that doc at lonelycactus.com quite awhile ag= o. =C2=A0I >>> keep meaning to take it down, because the way I did things was a little >>> strange and a little old. =C2=A0But, oddly, there are few other >>> tutorial-level resources. =C2=A0Someone really ought to put something b= etter >>> together. >> >> Well, don't take it down; it doesn't use the gh_ functions from what >> I can tell, so its not totally misleading. =C2=A0I'm more concerned abou= t >> the 'turtle graphics' pages, which do use the gh_* functions. =C2=A0What >> I do like about that one is that its fairly short and concise, which is >> what I tend to like best. > > I also got started using Guile with that turtle package tutorial, and it = was > really quite nice for the purpose... =C2=A0But I also later rewrote my or= iginal > code to not use gh_ after I discovered there was a new API ;) > > This document is linked here: > http://www.gnu.org/software/guile/docs/guile-tut/tutorial.html > > So it seems to be part of the "official documentation" somewhat... Well, its on the main gnu.org website, so it doesn't get much more official than that. > However, > it does not seem to be the stuff in doc/tutorial (actually, grepping doc = for > tortoise does not give any hits at all?) ?? It is linked directly from the main guile documentation page at http://www.gnu.org/software/guile/docs/ which is linked directly from the main guile page at: http://www.gnu.org/software/guile/ > -- so does anyone know who wrote it > and where/what it is meant to be? I don't get what you are saying ... at the bottom of your URL it says clearly: "I wrote this page because ... etc Copyright (c) 2000 David Drysdale Permission is granted to copy, distribute and/or modify ... GNU Free Documentation License, > If that's no problem with the original author, I'd volunteer to rework th= e > tutorial for the new Guile API. Well, with the GFDL, you don't have to contact the original author. You can hack away at it as desired. > Or maybe write some other tutorial in the > same style just with another example (that maybe does not use X functions > but something more basic). Yeah, X examples are rather anachronistic. I dunno, an OpenGL version might be fun. Imagine .. 3D programming in scheme ..! it would not be a bad idea, I don't think. Anyway, doing something interactive would be appropriate -- something vaguely enjoyable when its done. Maybe a simple fractal explorer? >=C2=A0What do you think about this? Do it! --linas