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


Groups > comp.lang.forth > #25722

Re: Advice requested on working with Forth and external editors

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: Advice requested on working with Forth and external editors
Date 2013-09-17 10:57 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2013Sep17.125734@mips.complang.tuwien.ac.at> (permalink)
References <b4714e4b-cce4-45f7-be94-4485bd68f206@googlegroups.com>

Show all headers | View raw


General Van Ryberg <vvdleun@hotmail.com> writes:
>I was wondering how others are "syncing" their interactively developed defi=
>nitions with files and vice-versa?

Others have described how they do it from within the Forth system.  My
usual way of working is different:

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.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2013: http://www.euroforth.org/ef13/

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