Sujet : Re: Back & Forth - Co-routines
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 01. Feb 2025, 18:30:24
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Feb1.183024@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6
User-Agent : xrn 10.11
dxf <
dxforth@gmail.com> writes:
Interesting since...
>
SwiftForth i386-Win32 3.11.9-RC1 01-Sep-2022
>
85 matches for LOCAL| (a few false positives in that)
0 matches for {: :} (despite being implemented)
Apparently your search for {: is broken. Here's what I get:
[/usr/local/src/SwiftForth-3.11.0:155305] rg -i -c 'locals[|]'
unsupported/fslib/library/integral.f:4
unsupported/fslib/library/polrat.f:4
unsupported/fslib/library/svd.f:9
unsupported/fslib/library/gaussj.f:13
unsupported/fslib/library/amoeba.f:2
unsupported/fslib/library/levmarq.f:7
lib/options/rstruct.f:4
lib/options/win32/sprintf.f:1
lib/options/win32/screensaver.f:1
lib/options/win32/gditools.f:6
lib/options/win32/gdiext.f:2
lib/options/win32/turtle.f:1
unsupported/contrib/formattext.f:2
lib/options/win32/boxed.f:9
lib/samples/win32/rndlines.f:1
lib/samples/win32/scribble.f:1
lib/samples/win32/tetris/guitetris.f:1
lib/samples/win32/showfonts.f:1
lib/samples/win32/mdi.f:1
src/ide/exception.f:1
src/ide/strings.f:2
src/ide/localvariables.f:4
src/ide/win32/editor.f:1
src/ide/win32/winmgmt.f:3
src/ide/win32/tty/repaint.f:1
src/ide/win32/tty/tty.f:1
lib/samples/macos/mac/cocoa/cocoastarter.f:1
lib/samples/macos/mac/doc/CHANGES.txt:1
[/usr/local/src/SwiftForth-3.11.0:155306] rg -i -c '[{]:'
src/ide/aswoop.f:3
src/ide/localvariables.f:4
[/usr/local/src/SwiftForth-3.11.0:155307] +
/usr/local/src/SwiftForth-4.0.0-RC89 /usr/local/src/SwiftForth-3.11.0 /usr/local/src/SwiftForth-3.11.0
[/usr/local/src/SwiftForth-4.0.0-RC89:155308] rg -i -c 'locals[|]'
src/ide/locals.f:5
src/arch/i386/ide/exception.f:1
src/arch/x64/ide/exception.f:1
unsupported/contrib/formattext.f:2
unsupported/forth-2012-tests/localstest.fth:1
unsupported/fslib/library/integral.f:4
unsupported/fslib/library/polrat.f:4
unsupported/fslib/library/svd.f:9
unsupported/fslib/library/gaussj.f:13
unsupported/fslib/library/levmarq.f:7
unsupported/fslib/library/amoeba.f:2
[/usr/local/src/SwiftForth-4.0.0-RC89:155309] rg -i -c '[{]:'
unsupported/forth-2012-tests/localstest.fth:38
src/ide/aswoop.f:3
src/ide/strings.f:2
src/ide/locals.f:4
src/ide/imports.f:2
src/arch/x64/decode.f:1
Apparently the use of LOCALS| is connected mostly with win32 files,
which do not come with 4.0.0-RC89 in the version I use. And most of
the remaining uses of LOCALS| are in unsupported libraries, in
particular the Forth Scientific Library. The tool I used for this is
ripgrep, if anybody is wondering.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/EuroForth 2024 proceedings:
http://www.euroforth.org/ef24/papers/