Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #135518
| From | Paul Rubin <no.email@nospam.invalid> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: dynamic scoping in Forth in one line of code |
| Date | 2026-09-01 17:15 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <87ecfcld9r.fsf@nightsong.com> (permalink) |
| References | <87bjamc5xh.fsf@debian> <nnd$4aef30ef$417a695d@6608074c8df9df23> <874igd9fjt.fsf@debian> <nnd$5e90e337$543815e0@6eeb63a0693c71c3> <875x0oa6fy.fsf@debian> |
Kragen Javier Sitaker <kragen@canonical.org> writes: > I think you’ve internalized it sufficiently that it’s not surprising to > you, but it was surprising to me when I encountered it a year and a half > ago, at which point I’d been programming for 43 years and occasionally > programming in Forth for 27 years. Maybe I'm just a slow learner. The idea has been in the literature for a long time (it's discussed at length in Knuth vol. 1 from 1968), but I think it wasn't well understood in the programming community til much more recently. This might be of interest: https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/coroutines-philosophy/ CO is similar to Knuth's (TAOCP's) coroutine jump as explained in the "Coroutine paradigms" section of the article, I think.
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
dynamic scoping in Forth in one line of code Kragen Javier Sitaker <kragen@canonical.org> - 2026-08-28 18:04 -0300
Re: dynamic scoping in Forth in one line of code Paul Rubin <no.email@nospam.invalid> - 2026-08-28 18:12 -0700
Re: dynamic scoping in Forth in one line of code Kragen Javier Sitaker <kragen@canonical.org> - 2026-08-29 10:50 -0300
Re: dynamic scoping in Forth in one line of code albert@spenarnc.xs4all.nl - 2026-08-29 12:10 +0200
Re: dynamic scoping in Forth in one line of code Kragen Javier Sitaker <kragen@canonical.org> - 2026-08-29 11:17 -0300
Re: dynamic scoping in Forth in one line of code albert@spenarnc.xs4all.nl - 2026-08-30 12:49 +0200
Re: dynamic scoping in Forth in one line of code Kragen Javier Sitaker <kragen@canonical.org> - 2026-09-01 20:38 -0300
Re: dynamic scoping in Forth in one line of code Paul Rubin <no.email@nospam.invalid> - 2026-09-01 17:15 -0700
coroutines (was Re: dynamic scoping in Forth in one line of code) Kragen Javier Sitaker <kragen@canonical.org> - 2026-09-03 20:38 -0300
Re: coroutines (was Re: dynamic scoping in Forth in one line of code) dxf <dxforth@gmail.com> - 2026-09-04 15:24 +1000
dynamic scoping in Forth in one line of code (was Re: coroutines) Kragen Javier Sitaker <kragen@canonical.org> - 2026-09-04 13:04 -0300
Re: dynamic scoping in Forth in one line of code (was Re: coroutines) dxf <dxforth@gmail.com> - 2026-09-05 02:59 +1000
csiph-web