Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #25742

Re: Advice requested on working with Forth and external editors

Newsgroups comp.lang.forth
Date 2013-09-17 21:50 -0700
References <b4714e4b-cce4-45f7-be94-4485bd68f206@googlegroups.com> <2013Sep17.125734@mips.complang.tuwien.ac.at>
Message-ID <bbbbf71c-cb9f-4d48-bb9d-294318cc785b@googlegroups.com> (permalink)
Subject Re: Advice requested on working with Forth and external editors
From hughaguilar96@yahoo.com

Show all headers | View raw


On Tuesday, September 17, 2013 3:57:34 AM UTC-7, Anton Ertl wrote:
> I have an editor window and a shell window.  In the shell window, I
> have my command line for running the Forth system, loading the Forth
> program(s) and possibly test definitions, running a test, and possibly leaving the Forth system, e.g.:
> 
> gforth program.fs test.fs -e "3 4 test bye"
> 
> After a run, I look at the output, edit the program and/or tests
> and/or the command line and run it again.  The fact that the shell has
> a command-line history is very helpful for this.
> 
> If I want to examine the state after the test interactively, I leave
> the BYE away and then do the examining and maybe additional testing
> interactively.

I don't get it --- how do you examine the state after the BYE has been done? How do you look at what TEST left on the stack, or what global variables it set? What if you have more than one version of TEST to try out?

I don't do a BYE and restart the Forth system unless I have some reason to believe that the Forth system has become corrupted (such as by a pointer in my program that got set wrong and caused the Forth system memory to get overwritten).

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Advice requested on working with Forth and external editors General Van Ryberg <vvdleun@hotmail.com> - 2013-09-16 12:15 -0700
  Re: Advice requested on working with Forth and external editors Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2013-09-16 20:39 +0100
  Re: Advice requested on working with Forth and external editors voidvolker@gmail.com - 2013-09-16 12:50 -0700
  Re: Advice requested on working with Forth and external editors "Elizabeth D. Rather" <erather@forth.com> - 2013-09-16 11:02 -1000
  Re: Advice requested on working with Forth and external editors Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2013-09-17 00:50 +0200
  Re: Advice requested on working with Forth and external editors hughaguilar96@yahoo.com - 2013-09-16 20:35 -0700
    Re: Advice requested on working with Forth and external editors rickman <gnuarm@gmail.com> - 2013-09-17 00:39 -0400
      Re: Advice requested on working with Forth and external editors josv@planet.nl - 2013-09-27 09:34 -0700
  Re: Advice requested on working with Forth and external editors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-09-17 10:57 +0000
    Re: Advice requested on working with Forth and external editors Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2013-09-17 17:49 +0200
      Re: Advice requested on working with Forth and external editors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-09-17 17:05 +0000
        Re: Advice requested on working with Forth and external editors Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2013-09-17 22:17 +0200
          Re: Advice requested on working with Forth and external editors albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-09-18 10:38 +0000
        Re: Advice requested on working with Forth and external editors Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2013-09-18 00:15 +0100
          Re: Advice requested on working with Forth and external editors Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2013-09-18 09:37 +0200
            Re: Advice requested on working with Forth and external editors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-09-18 08:46 +0000
            Re: Advice requested on working with Forth and external editors Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2013-09-18 17:44 +0100
              Re: Advice requested on working with Forth and external editors Roelf Toxopeus <rt4all@notthis.hetnet.nl> - 2013-09-18 23:36 +0200
                Re: Advice requested on working with Forth and external editors Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2013-09-19 11:53 +0100
          Re: Advice requested on working with Forth and external editors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-09-18 08:54 +0000
            Re: Advice requested on working with Forth and external editors Paul E Bennett <Paul_E.Bennett@topmail.co.uk> - 2013-09-18 13:19 +0100
            Re: Advice requested on working with Forth and external editors Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2013-09-19 11:41 +0100
              Re: Advice requested on working with Forth and external editors no.top.post@gmail.com - 2013-10-02 00:56 +0000
          Re: Advice requested on working with Forth and external editors albert@spenarnc.xs4all.nl (Albert van der Horst) - 2013-09-18 10:40 +0000
            Re: Advice requested on working with Forth and external editors Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2013-09-18 17:36 +0100
    Re: Advice requested on working with Forth and external editors hughaguilar96@yahoo.com - 2013-09-17 21:50 -0700
      Re: Advice requested on working with Forth and external editors anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2013-09-18 08:39 +0000
  Re: Advice requested on working with Forth and external editors humptydumpty <ouatubi@gmail.com> - 2013-09-18 10:39 -0700
    Re: Advice requested on working with Forth and external editors humptydumpty <ouatubi@gmail.com> - 2013-09-18 10:43 -0700
  Re: Advice requested on working with Forth and external editors General Van Ryberg <vvdleun@hotmail.com> - 2013-09-21 00:32 -0700

csiph-web