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


Groups > comp.lang.forth > #10349

Re: A short history of the stages of development and status of RP's For interpreter.

From Nomen Nescio <nobody@dizum.com>
Newsgroups comp.lang.forth
Subject Re: A short history of the stages of development and status of RP's For interpreter.
References <jkgbte$3f7$1@speranza.aioe.org>
Message-ID <538c31619337cdb29daa92f436bcc803@dizum.com> (permalink)
Date 2012-03-23 12:53 +0100
Organization mail2news@dizum.com

Show all headers | View raw


Rod, thanks for starting this thread. I'm interested but most of the
implementation details probably won't be useful for me, nor mine for anybody
else.

> It's finally what I would consider to be a true Forth interpreter, and not a
> C program.  The "to do" list gets shorter, then longer, ad infinitum ...  By
> comparison with some modern Forths, it's primitive, fig-Forth like, very
> basic, or not as fully developed, but it's coming along nicely now that it
> can parse definitions from ASCII text.

Part of my goal is to come up with something usable *for me*. If you
consider your Forth primitive, is there value beyond the technical joy of
implementing something? I am not minimizing that, I enjoy prototyping a lot
and a lot of what I've been paid to do does eventually go into production
but it's years and a lot of money later. My own code in my spare time tends
to be more focused. I seldom do anything significant unless I'm going all
the way. In other words, what are your goals? Do you want something so you
can say "I did that" or do you want something so you can write code you
couldn't write with anybody else's Forth, or something else?

> My interpreter originally started from a backend of C parser and developed
> from there.  At first, it was mostly C, not really any form of Forth.  Then,
> it evolved from pure C to pre-compiled Forth words in C, much like assembly.
> Then, it transmutated into most high-level words in Forth.

That's interesting. The process itself should be discussed more.

> The "program within a program" as pre-compiled Forth in C, over time and
> many versions, has been (re)written entirely in terms of the primitives
> which are coded in C.  So, it's really a program ("the Forth interpreters")
> within a program (an ITC interpreter coded in C).

Is this analagous to writing Forth words as assembler macros? It sounds like
it and it is something I thought of doing.

Thanks for the links, snipped. Your C expertise definitely helped you there.

> which I'll migrate to ASCII text definitions eventually.

I'm starting to wonder if XML would be helpful here...hmmm..

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


Thread

A short history of the stages of development and status of RP's Forth interpreter. "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-22 19:16 -0400
  Re: A short history of the stages of development and status of RP's Forth interpreter. jacko <jackokring@gmail.com> - 2012-03-23 00:38 -0700
    Re: A short history of the stages of development and status of RP's Forth interpreter. jacko <jackokring@gmail.com> - 2012-03-23 00:56 -0700
  Re: A short history of the stages of development and status of RP's For  interpreter. Nomen Nescio <nobody@dizum.com> - 2012-03-23 12:53 +0100
    Re: A short history of the stages of development and status of RP's For  interpreter. "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-23 20:44 -0400
      Re: A short history of the stages of development and status of RP's For  interpreter. Nomen Nescio <nobody@dizum.com> - 2012-03-25 10:30 +0200
        Re: A short history of the stages of development and status of RP's For  interpreter. "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-25 06:05 -0400
          Re: A short history of the stages of development and status of RP's Nomen Nescio <nobody@dizum.com> - 2012-03-27 03:03 +0200
            Re: A short history of the stages of development and status of RP's "Elizabeth D. Rather" <erather@forth.com> - 2012-03-26 15:39 -1000
              Re: A short history of the stages of development and status of RP's Fritz Wuehler <fritz@spamexpire-201203.rodent.frell.theremailer.net> - 2012-03-28 11:18 +0200
                Re: A short history of the stages of development and status of RP's "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-30 07:04 -0400
                Re: A short history of the stages of development and status of RP's Fritz Wuehler <fritz@spamexpire-201203.rodent.frell.theremailer.net> - 2012-03-30 19:24 +0200
                Re: A short history of the stages of development and status of RP's Paul Rubin <no.email@nospam.invalid> - 2012-03-30 13:00 -0700
                Re: A short history of the stages of development and status of RP's "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-30 18:06 -0400
                Re: A short history of the stages of development and status of RP's Fritz Wuehler <fritz@spamexpire-201204.rodent.frell.theremailer.net> - 2012-04-02 16:39 +0200
                Re: A short history of the stages of development and status of RP's Paul Rubin <no.email@nospam.invalid> - 2012-04-02 15:37 -0700
                Re: A short history of the stages of development and status of RP's BruceMcF <agila61@netscape.net> - 2012-04-02 16:59 -0700
                Re: A short history of the stages of development and status of RP's kenney@cix.compulink.co.uk - 2012-04-03 17:15 -0500
          Re: A short history of the stages of development and status of RP's Fritz Wuehler <fritz@spamexpire-201203.rodent.frell.theremailer.net> - 2012-03-27 13:08 +0200
      Re: A short history of the stages of development and status of RP's For  interpreter. anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-03-26 08:58 +0000
  Re: A short history of the stages of development and status of RP's Forth interpreter. Fanzo <cristianof6@gmail.com> - 2012-03-25 15:32 +0200
  Re: A short history of the stages of development and status of RP's Forth interpreter. "Rod Pemberton" <do_not_have@noavailemail.cmm> - 2012-03-30 18:05 -0400
    Re: A short history of the stages of development and status of RP's Forth interpreter. "Rod Pemberton" <do_not_have@notemailnot.cmm> - 2012-04-02 05:08 -0400

csiph-web