From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bernardo Ezequiel Contreras Newsgroups: gmane.lisp.guile.user Subject: Re: Anniversary hack: Zile editor with Guile support Date: Mon, 13 Feb 2012 11:25:17 -0300 Message-ID: References: <1329094293.53143.YahooMailNeo@web37901.mail.mud.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff24bf15bd68004b8d93f3e X-Trace: dough.gmane.org 1329162017 26560 80.91.229.3 (13 Feb 2012 19:40:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 19:40:17 +0000 (UTC) Cc: Guile User To: Mike Gran Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Feb 13 20:40:16 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rx1ky-000726-T9 for guile-user@m.gmane.org; Mon, 13 Feb 2012 20:40:13 +0100 Original-Received: from localhost ([::1]:55584 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rx1ky-0004bt-9w for guile-user@m.gmane.org; Mon, 13 Feb 2012 14:40:12 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwwqH-0006gx-6I for guile-user@gnu.org; Mon, 13 Feb 2012 09:25:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwwqF-0000u3-DT for guile-user@gnu.org; Mon, 13 Feb 2012 09:25:21 -0500 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:37755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwwqF-0000th-2m for guile-user@gnu.org; Mon, 13 Feb 2012 09:25:19 -0500 Original-Received: by pbcwz17 with SMTP id wz17so4869777pbc.0 for ; Mon, 13 Feb 2012 06:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+/c9Ycgw/IPxUM7dqPBdivCbfVFaByEiHv8V+XRYRHE=; b=kjDdotNFmKJmi42FtRgbzplWDNRE2iEiOIdnK/s9lWygsvVxG597otcC1yIQCUGPGx 002TWvOd5Oj0FE9qffjZC0FcuxId3E8oHvKU6tloqqDPhsAzo3JF5Zlh9yJO9V7KVnJa Uvjxef69YjBjziH2vj7dokYN4DEFnlVodLqCQ= Original-Received: by 10.68.141.232 with SMTP id rr8mr13022179pbb.29.1329143117239; Mon, 13 Feb 2012 06:25:17 -0800 (PST) Original-Received: by 10.68.60.36 with HTTP; Mon, 13 Feb 2012 06:25:17 -0800 (PST) In-Reply-To: <1329094293.53143.YahooMailNeo@web37901.mail.mud.yahoo.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-Mailman-Approved-At: Mon, 13 Feb 2012 14:40:03 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9268 Archived-At: --e89a8ff24bf15bd68004b8d93f3e Content-Type: text/plain; charset=ISO-8859-1 Do you plan to write everything on guile? is it possible? On Sun, Feb 12, 2012 at 9:51 PM, Mike Gran wrote: > > > Hello- > > In response to Ludo's request for a Guile-2.0 anniversary hack, I'll > start by offering a release of a hack I made. But this isn't my > official hack: it is just a building block. > > Zile-on-Guile is a version of GNU Zile that uses GNU Guile as an > extension language. The original GNU Zile was a small editor in the > style of GNU Emacs and it has its own tiny embedded Lisp interpreter. > I've replaced that interpreter with Guile. > > You can find the download at > > https://github.com/downloads/spk121/zile/zile-on-guile-0.0.tar.gz > > This is a 0.0 release, so if it even builds on anyone else's machine, > I'd be totally surprised. > > You can find the Git repository at > > https://github.com/spk121/zile > > The Guile extension can be accessed this way. > > -- Pressing Alt+C brings up a REPL. You can do all your standard REPL > things. > > -- In the REPL, one can create and bind new commands. Define a > procedure of zero arguments, export it, and then bind it to a key > using 'set-key'. > > For example: > > (define (blammo) > (insert "blammo")) > (export blammo) > (set-key "\\F9" 'blammo) > > This creates a function that inserts the world "blammo" at the mark > whenever is pressed. > > -- And, if really you wanted to, you could edit your current buffer in > the REPL > > For example: > > (insert "here is some text") > (forward-char) > > But that would just be silly. > > Thanks, > > Mike Gran > > --e89a8ff24bf15bd68004b8d93f3e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Do you plan to write everything on guile? is it possible?=A0

On Sun, Feb 12, 2012 at 9:51 PM, Mike Gran <spk121@yahoo.com> wrote:


Hello-

In response to Ludo's request for a Guile-2.0 anniversary hack, I'l= l
start by offering a release of a hack I made.=A0 But this isn't my
official hack: it is just a building block.

Zile-on-Guile is a version of GNU Zile that uses GNU Guile as an
extension language.=A0 The original GNU Zile was a small editor in the
style of GNU Emacs and it has its own tiny embedded Lisp interpreter.
I've replaced that interpreter with Guile.

You can find the download at

https://github.com/downloads/spk121/zile/zile-on-guile= -0.0.tar.gz

This is a 0.0 release, so if it even builds on anyone else's machine, I'd be totally surprised.

You can find the Git repository at

https://github= .com/spk121/zile

The Guile extension can be accessed this way.

-- Pressing Alt+C brings up a REPL.=A0 You can do all your standard REPL =A0=A0 things.

-- In the REPL, one can create and bind new commands.=A0 Define a
=A0=A0 procedure of zero arguments, export it, and then bind it to a key =A0=A0 using 'set-key'.

=A0=A0 For example:

=A0=A0=A0=A0 (define (blammo)
=A0=A0=A0=A0=A0=A0 (insert "blammo"))
=A0=A0=A0=A0 (export blammo)
=A0=A0=A0=A0 (set-key "\\F9" 'blammo)

=A0=A0 This creates a function that inserts the world "blammo" at= the mark
=A0=A0 whenever <F9> is pressed.

-- And, if really you wanted to, you could edit your current buffer in
=A0=A0 the REPL

=A0=A0 For example:

=A0=A0=A0=A0=A0 (insert "here is some text")
=A0=A0=A0=A0=A0 (forward-char)

=A0=A0 But that would just be silly.

Thanks,

Mike Gran=A0 =A0 =A0=A0


--e89a8ff24bf15bd68004b8d93f3e--