gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pausing compilation in GForth


From: Anton Ertl
Subject: Re: Pausing compilation in GForth
Date: Mon, 22 Mar 2021 15:11:21 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Mon, Mar 22, 2021 at 01:11:28PM +0100, paul.ortais@aida-sea.com wrote:
> Hello all,
> 
> I am looking for any method to pause compilation, so that it goes on by
> smaller chunks and I have the time to examine successes and errors, then
> release it for one more screen etc.
> 
> Tried to insert prompts like key, key?, ekey? so that I hit eg the
> spacebar or down arrow to release it and run, but that seems to
> interfere with the flow, and halt it.
> 
> Idea anyone?

I think what you want is more.fs: Start Gforth with, e.g.

gforth more.fs myfile.fs

and it will stop and prompt after outputting a screenful, and any key
will get you the next screen.

It works in Gforth 0.7, but is broken at the moment in the development
version.

- anton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]