unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Ian Grant <ian.a.n.grant@googlemail.com>
To: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: implementation idea for infinite cons lists aka scon(e)s lists.
Date: Mon, 15 Sep 2014 10:37:57 -0400	[thread overview]
Message-ID: <CAKFjmdy3V1Nm==6Vnt++n3UfyFB-A96X+AxX6pVuaVzMOmfDtA@mail.gmail.com> (raw)
In-Reply-To: <CAGua6m281euzVPV4xrTyfDirYXpaAOkCjmqOQzYvCsr1Gk2B8g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

On Sat, Sep 13, 2014 at 7:19 AM, Stefan Israelsson Tampe <
stefan.itampe@gmail.com> wrote:

> Anyhow today I think that programming in C should be done like in my
> c-lambda repo at gitorius.
>

I can't find it. Can you send me a URL?

 I have actually copied sbcl's assebler for amd64. you can find it in the
> aschm
> repo at gitorious, and here again the meta programming you get with scheme
> is fantastic
>

I found this. It looks really good. I like the way it handles labels. I
haven't yet looked up how you do it, I guess its a syntax macro of some
kind - I didn't know they could do that though.

It looks like SBCL hackers have been playing with virtual machines
metaprogrammed in LISP for a while. But they don't do abstract syntax for
their VM, so every implementation is a concrete LISP program implementing
the VM in some particular assembler or other. But writing a common,
abstract VM spec, as an s-exp, for example, and then interpreting that one
common abstract spec in each of the particular concrete assembler languages
is only a small step to make. But it gets you a completely portable LISP
runtime very quickly, if all your LISP primitives were specified in that
abstract assembler.

Ian

[-- Attachment #2: Type: text/html, Size: 1908 bytes --]

  reply	other threads:[~2014-09-15 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12 20:08 implementation idea for infinite cons lists aka scon(e)s lists Ian Grant
2014-09-13  1:22 ` Ian Grant
2014-09-13 11:19   ` Stefan Israelsson Tampe
2014-09-15 14:37     ` Ian Grant [this message]
2014-09-13 11:13 ` Stefan Israelsson Tampe
2014-09-15 18:38   ` Ian Grant
  -- strict thread matches above, loose matches on Subject: below --
2014-09-10 20:10 Stefan Israelsson Tampe

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='CAKFjmdy3V1Nm==6Vnt++n3UfyFB-A96X+AxX6pVuaVzMOmfDtA@mail.gmail.com' \
    --to=ian.a.n.grant@googlemail.com \
    --cc=guile-devel@gnu.org \
    --cc=stefan.itampe@gmail.com \
    /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).