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


Groups > comp.lang.forth > #9592 > unrolled thread

ANN: A Forth Modules System with Name Reuse

Started byKrishna Myneni <krishna.myneni@ccreweb.org>
First post2012-02-16 17:26 -0800
Last post2012-02-17 12:11 -0800
Articles 6 — 4 participants

Back to article view | Back to comp.lang.forth


Contents

  ANN: A Forth Modules System with Name Reuse Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-02-16 17:26 -0800
    Re: ANN: A Forth Modules System with Name Reuse Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-02-16 18:22 -0800
    Re: ANN: A Forth Modules System with Name Reuse "Peter Knaggs" <pjk@bcs.org.uk> - 2012-02-17 09:56 +0000
      Re: ANN: A Forth Modules System with Name Reuse Krishna Myneni <krishna.myneni@ccreweb.org> - 2012-02-17 04:31 -0800
      Re: ANN: A Forth Modules System with Name Reuse Brad <hwfwguy@gmail.com> - 2012-02-17 10:33 -0800
      Re: ANN: A Forth Modules System with Name Reuse BruceMcF <agila61@netscape.net> - 2012-02-17 12:11 -0800

#9592 — ANN: A Forth Modules System with Name Reuse

FromKrishna Myneni <krishna.myneni@ccreweb.org>
Date2012-02-16 17:26 -0800
SubjectANN: A Forth Modules System with Name Reuse
Message-ID<74b9a72d-f7fa-4eaa-99b1-5a66c4c81ea5@a15g2000yqf.googlegroups.com>
We are pleased to announce the release of a new library to facilitate
modular programming in standard Forth. Our library is presented as a
literate program. The following release files are available at the
given URLs:

1) Document generated from the literate program:  modular-forth.pdf
    ftp://ccreweb.org/software/lyx/forth/modular-forth.pdf

2) Forth source file extracted from the literate program:  modules.fs
    ftp://ccreweb.org/software/gforth/modules.fs

3) The literate program itself, from which both 1) and 2) may be
generated:  modular-forth.lyx
    ftp://ccreweb.org/software/lyx/forth/modular-forth.lyx

4) Test package for the library:  modules-test.zip
    http://www-personal.umich.edu/~williams/archive/forth/utilities/modules-test.zip

5) Sample Forth modules using the library, ported from the Forth
Foundation Library:

    a) Sample of FFL modules rewritten using the modules library, and
with
        generic word names:  ftp://ccreweb.org/software/gforth/fflm/

    b) Strings and parsing library in modular form:
        http://www.umich.edu/~williams/archive/forth/strings/README
        http://www.umich.edu/~williams/archive/forth/strings/stringmodules.zip

The modules library is also available from
    http://www.umich.edu/~williams/archive/forth/utilities/#modules

At the present time, the modules library has been tested with gforth,
pfe, and iForth. A ported version for kForth has also been tested. PFE
shows anomalous behavior with its implementation of the standard words
FORTH and FORTH-WORDLIST. We look forward to receiving feedback on the
test results from other standard Forth systems, and experience of
Forth users with the library itself.

Regards,

Krishna Myneni
David N. Williams

[toc] | [next] | [standalone]


#9593

FromKrishna Myneni <krishna.myneni@ccreweb.org>
Date2012-02-16 18:22 -0800
Message-ID<a3ea2a9e-c3e5-4efd-b8fd-16a8169c0944@h6g2000yqk.googlegroups.com>
In reply to#9592
On Feb 16, 7:26 pm, Krishna Myneni <krishna.myn...@ccreweb.org> wrote:
...
> 5) Sample Forth modules using the library, ported from the Forth
> Foundation Library:
>
>     a) Sample of FFL modules rewritten using the modules library, and
> with
>         generic word names:  ftp://ccreweb.org/software/gforth/fflm/
>
>     b) Strings and parsing library in modular form:
>        http://www.umich.edu/~williams/archive/forth/strings/README
>        http://www.umich.edu/~williams/archive/forth/strings/stringmodules.zip
> ...


Correction to 5): only a) is ported from the FFL, b) is from David
Williams' strings libraries and not from the FFL.

Krishna Myneni

[toc] | [prev] | [next] | [standalone]


#9596

From"Peter Knaggs" <pjk@bcs.org.uk>
Date2012-02-17 09:56 +0000
Message-ID<op.v9thwwqdsu5d0p@david>
In reply to#9592
Krishna Myneni wrote:
>
...
> Our library is presented as a literate program.
...
>
> 3) The literate program itself, from which both 1) and 2) may be
> generated:  modular-forth.lyx
>     ftp://ccreweb.org/software/lyx/forth/modular-forth.lyx

If you think a lyx file is even remotely similar to LP may I suggest
you open in a plain text editor and compare it to a LP file.

-- 
Peter Knaggs

[toc] | [prev] | [next] | [standalone]


#9597

FromKrishna Myneni <krishna.myneni@ccreweb.org>
Date2012-02-17 04:31 -0800
Message-ID<3e48198f-70bc-4343-abde-3eb761379b22@p13g2000yqd.googlegroups.com>
In reply to#9596
On Feb 17, 3:56 am, "Peter Knaggs" <p...@bcs.org.uk> wrote:
> Krishna Myneni wrote:
>
> ...
> > Our library is presented as a literate program.
> ...
>
> > 3) The literate program itself, from which both 1) and 2) may be
> > generated:  modular-forth.lyx
> >    ftp://ccreweb.org/software/lyx/forth/modular-forth.lyx
>
> If you think a lyx file is even remotely similar to LP may I suggest
> you open in a plain text editor and compare it to a LP file.
>
> --
> Peter Knaggs


Thank you for having a look. If you wish to debate the merits of using
LyX as a literate programming tool, I recommend you start a new thread
and not a tangent thread to this discussion.

Regards,
Krishna

[toc] | [prev] | [next] | [standalone]


#9600

FromBrad <hwfwguy@gmail.com>
Date2012-02-17 10:33 -0800
Message-ID<80409f44-90a2-4c58-8572-dbd68d2c2580@m5g2000yqk.googlegroups.com>
In reply to#9596
On Feb 17, 2:56 am, "Peter Knaggs" <p...@bcs.org.uk> wrote:
> If you think a lyx file is even remotely similar to LP may I suggest
> you open in a plain text editor and compare it to a LP file.

Do you have a link to a sample LP file? And generated docs of course.

[toc] | [prev] | [next] | [standalone]


#9602

FromBruceMcF <agila61@netscape.net>
Date2012-02-17 12:11 -0800
Message-ID<59c56c65-679e-4f6c-b10f-2bfc5263beb2@p12g2000yqe.googlegroups.com>
In reply to#9596
On Feb 17, 4:56 am, "Peter Knaggs" <p...@bcs.org.uk> wrote:
> Krishna Myneni wrote:
>
> ...
> > Our library is presented as a literate program.
> ...
>
> > 3) The literate program itself, from which both 1) and 2) may be
> > generated:  modular-forth.lyx
> >    ftp://ccreweb.org/software/lyx/forth/modular-forth.lyx
>
> If you think a lyx file is even remotely similar to LP may I suggest
> you open in a plain text editor and compare it to a LP file.

If in the lyx editor, you can write the documentation and the code
segments, and the code segments can be in the order convenient for
documentation rather than in the order required for documentation, and
there are automatic tools that output documentation and source from
the same some lyx file ...

... then in what way is that not Literate Programming?

Certainly its far from the approach I would prefer, but I don't see
how "looking at the file in a text editor" says anything to whether or
not it is Literate Programming.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.forth


csiph-web