guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to convert from Emacs Lisp to Guile


From: Thien-Thi Nguyen
Subject: Re: How to convert from Emacs Lisp to Guile
Date: Fri, 18 Jun 2010 19:19:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() address@hidden (Ludovic Courtès)
() Fri, 18 Jun 2010 17:07:03 +0200

   There’s no such thing as a ‘buffer’ or ‘point’ in Guile so that would
   need to be expressed, e.g., as a procedure that opens a file, reads it
   line by line, writes modified lines to the output file, etc.

   See the (ice-9 regex) and (ice-9 rdelim) modules for useful tools.

Guile has module (ice-9 gap-buffer), which implements ‘buffer’ and ‘point’.
Guile 1.4.x has a more recent version, with more features.  Despite this,
it is still unibyte, and so could use an internals redesign.

Guile 1.4.x also has module (ice-9 editing-buffer), which wants to be
forward-ported (a good chance to redesign the internals, too).  

If anyone wants to tackle this syntax-oriented hack opportunity, feel free.
In particular, i (not being a syntax ninja) would love to learn from the
(ice-9 editing-buffer) internals redesign...

thi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]