() [email protected] (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
