Here is an idea: create a shell script that can start all Forths with uniform command line arguments.
E.g.: runforth.sh --kind gforth gf --load foo.fth --eval bye
This way we could pass the filename of the backend code as command line argument instead of having to look for patterns in the banner (which is kinda brittle).
Such a script would of course also be useful for other uses, unrelated to Emacs.
Here is an idea: create a shell script that can start all Forths with uniform command line arguments. E.g.: runforth.sh --kind gforth gf --load foo.fth --eval bye This way we could pass the filename of the backend code as command line argument instead of having to look for patterns in the banner (which is kinda brittle).
Such a script would of course also be useful for other uses, unrelated to Emacs.