unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ken.dickey@whidbey.com
To: guile-user@gnu.org
Subject: Advice on ST-Object data-structure setup
Date: Tue, 16 Apr 2024 14:14:03 -0700	[thread overview]
Message-ID: <42c1605918d03c9c8b6616d0d63fa2aa@whidbey.com> (raw)

Greetings,

I am looking at porting a toy Smalltalk-in-Scheme implementation to 
Guile.

[Note https://github.com/KenDickey/Crosstalk ].

The idea is for simplicity first, then making into a module and 
potentially evolving Smalltalk into a supported, compiled ",language" in 
the Guile way.

The first bit of business is to get the mechanics working.  For this I 
need to have an St-Object which is basically a Vector but which answers 
#false to vector? and #true to st-object?

[Note https://github.com/KenDickey/Crosstalk/blob/master/st-kernel.scm ]

I note that one might change the T7 type-tag from 0x0d (vector) to 0x6d 
(currently unused) with a quick bitwise-or, but would like some advice 
on the best way to do this or some alternate.  I would prefer to work in 
Scheme, not C, BTW.

Any hints appreciated.

Thanks much,
-KenD



             reply	other threads:[~2024-04-16 21:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-16 21:14 ken.dickey [this message]
2024-04-17  7:10 ` Advice on ST-Object data-structure setup Basile Starynkevitch
2024-04-17  7:14   ` Basile Starynkevitch
2024-04-17 16:34     ` Maxime Devos
2024-04-17 14:28   ` ken.dickey
2024-04-17 16:34 ` Maxime Devos
2024-04-17 18:29   ` ken.dickey
2024-04-20  9:49 ` Mikael Djurfeldt
2024-04-20 10:03   ` Mikael Djurfeldt
2024-04-20 15:08   ` ken.dickey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42c1605918d03c9c8b6616d0d63fa2aa@whidbey.com \
    --to=ken.dickey@whidbey.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).