Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

HOLY MACRO!


devel / comp.lang.forth / obsoleting old structures package in kForth

SubjectAuthor
o obsoleting old structures package in kForthKrishna Myneni

1
obsoleting old structures package in kForth

<ur6g9l$3kq5j$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26171&group=comp.lang.forth#26171

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: krishna.myneni@ccreweb.org (Krishna Myneni)
Newsgroups: comp.lang.forth
Subject: obsoleting old structures package in kForth
Date: Wed, 21 Feb 2024 21:50:12 -0600
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <ur6g9l$3kq5j$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 22 Feb 2024 03:50:14 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0f9e265f4c5d0c17cf05412818c951fb";
logging-data="3827891"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18o8cUuFqLWy67x9ksRaSx5"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:zQLM+AEnkdLDAZK6tzUZTuhtKN8=
Content-Language: en-US
 by: Krishna Myneni - Thu, 22 Feb 2024 03:50 UTC

I've decided to obsolete the older structures package in kForth, in
favor of using Forth-200x standardized data structures. The older
structures package is provided in

struct.4th

and the Forth-200x standard structures are provided in

struct-200x.4th

IIRC the origin of the older package is from Gforth.

Forth source programs in the kForth repos currently make use of one or
the other type of structures. Neither one is complete, in a practical
sense, making it necessary to add additional field specifiers for
unaligned fields, which is important for creating data structures
compatible with those used in external libraries. Thus, the kForth repos
also provide

struct-ext.4th

and

struct-200x-ext.4th

Over the coming months my aim is to modify existing code so that both
struct.4th and struct-ext.4th are no longer needed in the source code
provided in the kForth repos. The use of both kinds of structures, often
in the same program, is leading to confusion and difficulty in following
the source code.

--
Krishna Myneni

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor