Re: Proposed patch to marker.fs for allowing custom clean up.
Bernd Paysan <[email protected]> Mon, 11 May 2026 10:34:22 +0200
| Newsgroups | gmane.comp.lang.forth.gforth |
|---|---|
| Message-ID | <[email protected]> |
--nextPartuYlPkUA4QnyOEE87_2lksQ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Bernd Paysan <[email protected]> To: "gforth-mXXj517/[email protected]" <gforth-mXXj517/[email protected]> Cc: colossus <[email protected]> Subject: Re: Proposed patch to marker.fs for allowing custom clean up. Date: Mon, 11 May 2026 10:34:22 +0200 Message-ID: <[email protected]> MIME-Version: 1.0 Am Montag, 11. Mai 2026, 05:32:51 Mitteleurop=C3=A4ische Sommerzeit schrieb= =20 colossus via Gforth discussion and announcements: > I have from time to time wanted to perform clean up actions when a marker= is > run, often close files. Win32Forth allowed this by having MARKER-CHAIN run > and I found it quite useful. The other advantage of this arrangement is > that it is possible to localize the clean up actions in the same file as > the data structure is defined. >=20 > I have attached a proposed patch. It is pretty simple and only affects the > marker.fs file. Maskes sense. While we have chains.fs in Gforth, we usually have a deferred= =20 word where you can put your chained code in. =2D-=20 Bernd Paysan "If you want it done right, you have to do it yourself" net2o id: kQusJzA;7*?t=3Duy@X}1GWr!+0qqp_Cn176t4(dQ* https://net2o.de/ --nextPartuYlPkUA4QnyOEE87_2lksQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQJPBAABCAA5FiEERJ1NDqPQRwYnwBjr9y2Uk5MtoGcFAmoBlI4bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyAAoJEPctlJOTLaBn6vwQAJV7hM3atlY+XJyeslaz v1iNe2NTh3IU1SiQaVhXU9Nh5p0aZl6J+3PdBcCeegknvlzOFby9NI5qM4+PEsT6 8OoW2xuiX7M69fbbbMW0usIo80vlYzmWl7vLf/QpjghAW/JmrsmWgVl1nLCWBBsb NIGYPOwx/+5KFrWBxkhDAAoNAE90r8J63g4u03DW72852qTB9ziB8cmDSNAjGDyV NZUWSO5G6w4x9I9PQXuWNmHAkzAJNMvZuOQ/U4hKZbMLy0afAC3ozkNBfXroGyt7 sr7cnwTzaV699MKQ4AaMNe0uIK3jrwpD9omdlG8qS+MPxpUzrDVVjJNmbCZYNGIs lMNJpYilaQKdlr68EMuS5TOfExQfeRFnMr8xwQQLC/LG29mkdvSFyQDG3QdOXpM4 IWnbpEPtTJ3ElWsjqizlPFPAFEuvhmqHGauVrNHPoZIDPGm2VAG7bI3jWfngxDBO 9WaINzvY/9p4uFEHDmSLeLDvg153FJu+ikud1BT5pxBD01Uzxu9fIQVhoUMJ45Lm pBqRVD2/csJQpjuLw7L3gWJ8QPKY5zwdBkZHY+7xdsOumZR3bl1mJZlnscCHu9cH 5nvBfs28WACVvEMZ7SNvFi+ndiBmv1/7q7KpFPy9Hfsntld+BG626hl1BGYbZtIs 83wbZdTplYLR8Ef5sn/EJ+JW =djt4 -----END PGP SIGNATURE----- --nextPartuYlPkUA4QnyOEE87_2lksQ--