From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel@gnu.org
Subject: Re: Doc organization (Re: Around again, and docs lead role)
Date: 10 May 2003 12:32:21 +0100 [thread overview]
Message-ID: <m3k7cz596i.fsf@laruns.ossau.uklinux.net> (raw)
In-Reply-To: <87isskq2mi.fsf@raven.i.defaultvalue.org>
>>>>> "Rob" == Rob Browning <rlb@defaultvalue.org> writes:
Rob> Neil Jerram <neil@ossau.uklinux.net> writes:
>> To avoid this happening, I suggest that we could solve this
>> problem by a mechanism that links Scheme code into a library or
>> executable at build time. This could be something like unexec
>> (in which case the source would already have been read and
>> stored in tree code), or it could be a linker tool that just
>> dumps plain source code into the binary - as though it was a
>> big const char[], but more convenient to use at build time.
Rob> That could be interesting. To some extent how we decide to
Rob> handle compilation will factor in here.
Yes.
Rob> If you thought large static scm fragments, were likely to be
Rob> common, I guess one thing that might make hacking easier
Rob> would be an easy way to do something equivalent to #include
Rob> <foo.scm>, i.e. a way you could hack the scheme part as a
Rob> scheme file, but then have the code end up incorporated in
Rob> and evaled by the .so file. Of course I guess anyone could
Rob> hack something like that up if they needed to with a makefile
Rob> and appropriate use of "cat"...
#include <foo.scm> would be very nice, but we'll probably need
something more dynamic as well. I don't see what you mean by cat
though.
Rob> Actually, I've been playing around with code that would make something
Rob> like this possible (as a dumb example):
Rob> (define (double x)
Rob> (c-syntax
Rob> (if ("SCM_INUMP" x)
Rob> (return (* x x))
Rob> (return ("scm_apply" ("scm_lookup" "+") x x)))))
I don't see how this helps - please explain.
Rob> Sure, but I was wondering what else might be needed. Of course I'm
Rob> not sure I have a clear idea of what kind of things might be
Rob> omitted...
I don't have a very clear idea myself yet. The main category in my
mind so far is almost all primitives - e.g. scm_catch, scm_setgid,
scm_set_object_properties_x - some exceptions being those concerned
with dissecting and constructing data - e.g. scm_cons, scm_list_p,
SCM_CAR, scm_vector.
Regards,
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2003-05-10 11:32 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-26 7:33 Around again, and docs lead role Neil Jerram
2003-04-26 10:19 ` Thamer Al-Harbash
2003-04-27 20:56 ` Neil Jerram
[not found] ` <3E92E1B40021F4D7@pop3.tiscalinet.es>
2003-04-27 21:01 ` Neil Jerram
[not found] ` <3E92E1B4002B0632@pop3.tiscalinet.es>
2003-04-30 22:47 ` Neil Jerram
[not found] ` <3EAFE4EC000D9733@pop1.tiscalinet.es>
2003-05-07 21:06 ` Doc organization (Re: Around again, and docs lead role) Neil Jerram
2003-05-08 16:21 ` Rob Browning
2003-05-08 17:50 ` rm
2003-05-08 22:47 ` Neil Jerram
2003-05-08 21:18 ` Wolfgang Jaehrling
2003-05-08 22:36 ` Neil Jerram
2003-05-09 2:23 ` Rob Browning
2003-05-09 17:46 ` David Van Horn
2003-05-10 11:32 ` Neil Jerram [this message]
2003-05-15 16:02 ` Rob Browning
2003-05-15 16:33 ` Paul Jarc
2003-05-08 16:21 ` Max Techter
[not found] ` <3EB9828B00021495@pop1.tiscalinet.es>
2003-05-08 21:12 ` Max Techter
2003-05-27 2:02 ` Max Techter
2003-05-08 22:57 ` Neil Jerram
2003-05-09 12:32 ` Max Techter
2003-05-09 8:15 ` tomas
2003-05-10 12:01 ` Neil Jerram
2003-05-12 11:40 ` tomas
2003-05-12 16:46 ` Around again, and docs lead role Max Techter
2003-05-12 20:25 ` Neil Jerram
2003-05-13 14:14 ` Max Techter
2003-05-13 19:56 ` Neil Jerram
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=m3k7cz596i.fsf@laruns.ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-devel@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).