From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: Update and Questions
Date: Sun, 18 Dec 2011 21:39:16 +0100 [thread overview]
Message-ID: <87aa6pmx6z.fsf@gnu.org> (raw)
In-Reply-To: CA+U71=MMST=EkYSEgXkaMFpfyvbKnQmKqomJm8XGHeKzpa+Vkg@mail.gmail.com
Hi Noah,
And as is more often the case, sorry for the delay!
Noah Lavine <noah.b.lavine@gmail.com> skribis:
> It is a propagation network. Basically you have a graph of Tree-IL
> nodes, where each Tree-IL node is connected to its parent, its
> children, and optionally other nodes (a variable is connected to the
> place it was declared. A primitive function is connected to the error
> continuation it could jump to). The compiler propagates information
> along the edges of this graph, attempting to find the minimum set of
> possible values for each variable and each jump target. It also
> performs partial evaluation as a special case of this.
>
> What I have described also seems to be how Hindley-Milner type
> inference works (although I think we can do a bit better than standard
> Hindley-Milner systems). Does this seem like a good design for the
> static analyzer portion?
I’m not an expert in that area, but it does look sensible to me at first
sight.
> One big oversight that I know of is that this doesn't do any sort of
> specialization.
What if your static analyzer was plugged after the peval run? I expect
part of it would be redundant with peval, but for a start we could live
with the code redundancy, and look at factorizing it later. WDYT?
[...]
> And finally, a fun thing. The current best Scheme compiler (that I
> know of) is called Stalin. Therefore, I suggest that our compiler be
> called "Stallman", after our fearless leader (whose name also starts
> with "s"). :-)
Heheh. :-)
Thanks,
Ludo’.
prev parent reply other threads:[~2011-12-18 20:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-06 4:25 Update and Questions Noah Lavine
2011-12-06 11:11 ` David Kastrup
2011-12-15 15:23 ` Nala Ginrut
2011-12-15 15:34 ` David Kastrup
2011-12-15 15:42 ` Nala Ginrut
2011-12-15 16:00 ` David Kastrup
2011-12-15 16:19 ` Nala Ginrut
2011-12-15 23:06 ` Noah Lavine
2011-12-16 2:52 ` Nala Ginrut
2011-12-18 20:39 ` Ludovic Courtès [this message]
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=87aa6pmx6z.fsf@gnu.org \
--to=ludo@gnu.org \
--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).