Hi,

You might be interested in edward <https://github.com/nmeum/edward> a
POSIX-compatible and extensible ed(1) implementation written in Scheme.
It uses CHICKEN instead of Guile, but most of the code base is
R7RS-compatible.

You can find an exemplary definition of a new ed command here:

        https://wiki.call-cc.org/eggref/5/edward#example

That page also references the API documentation etc.

Greetings
Sören

Basile Starynkevitch <[email protected]> wrote:
> Hello all
> 
> (this is on GNU/Linux/Debian/Trixie if that matters)
> 
> 
> GNU ed 1.21.1
> Copyright (C) 1994 Andrew L. Moore.
> Copyright (C) 2025 Antonio Diaz Diaz.
> License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
> 
> 
> I dream of next version of GNU ed to be scriptable with GNU guile 3
> 
> In other words, add a new command to ed to pass every line (of a line range)
> thru a give GNU guile script.
> 
> Your opinion is welcome!
> 
> Regards.

Reply via email to