ffl improvements

Liste des GroupesRevenir à cl forth 
Sujet : ffl improvements
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forth
Date : 11. Dec 2024, 17:06:34
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$173c8200$21054cb4@19119e3e4f8b5f2b>
User-Agent : trn 4.0-test77 (Sep 1, 2010)
This is in the context to adding a configuration with ciforth
to the https://github.com/uho/ffl
Subject: ffl improvements
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)

The first thing I wanted to do is replace
   include ffl/config.fs
by
   INCLUDE ffl/config.fs

ciforth is able to switch to case-insensitive in config.fs but
before this change config.fs could not be included.
This is some work but a simple modification.

Before I submit this I wanted to test by other Forths.
At least one Forth that has no search path.
This goes wrong. In two cases the forths cannot
even include the config.fs file that is intended for it.

Swiftforth :
   SwiftForth i386-Linux 3.7.2 01-May-2018
   INCLUDE config.fs
   FATAN2 isn't unique.
   /home/albert/PROJECT/ffl/ffl/engines/SwiftForth/config.fs
      91:   f2dup f0< f0< and if fswap fabs fswap [fatan2] \
fnegate exit then [fatan2] ; >>> [fatan2] ?

ffl has been tested apparently with 3.3.2 , no longer valid.

vfxlin:  (including config.fs)
 %vfxpath%/Lib/Ndp387.fth, 1998-2009
        ^ ERR: Failed to open requested file.

The require version of vfxlin was 4.40 , I had 4.30.

You can test gforth easily because there is a separate debian package
to attach the ffl library. This however don't test my modifications.

If I do the alternative, attach a symbolic linked library, this pre
installed stuff interferes, it insists on using the installed library.
Then it goes wrong:
 /usr/share/gforth/site-forth/ffl/str.fs:309: Undefined word

      >>>3drop<<<

It is puzzling that 3drop is not even present in the official str.fs.
Apparently the debian archives are not in sync.

Mind you, this is only a preparation before I can consider adding
ciforth to the engines.

My modifications are rather safe :
include --> INCLUDE

Addition to the README, and typo's removed.

So I push them to https://github.com/uho/ffl
and hope it is accepted.
It isn't. I thought I would push it, the owner of the archive looks
at it (Ullrich Hoffman) and rejects it or (hopefully) accepts it.

This git stuff apparently doesn't work this way. You must do a
pull request in git. Graphics interface, user friendly, just fill in
the form ...  No way.

Has anybody succeeded in doing a contribution to git, other than
to your own archive?

Groetjes Albert
--
Temu exploits Christians: (Disclaimer, only 10 apostles)
Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style Wall
Art For Home, Office And Garden Decor - Perfect For Windows, Bars,
And Gifts For Friends Family And Colleagues.

Date Sujet#  Auteur
11 Dec 24 * ffl improvements7albert
12 Dec 24 `* Re: ffl improvements6Anton Ertl
13 Dec 24  `* Re: ffl improvements5albert
13 Dec 24   +- Re: ffl improvements1mhx
14 Dec 24   `* Re: ffl improvements3Anton Ertl
14 Dec 24    `* Re: ffl improvements2albert
15 Dec 24     `- Re: ffl improvements1Anton Ertl

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal