unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Programs are nameless
@ 2010-06-01 21:25 Ludovic Courtès
  2010-06-01 22:19 ` Ludovic Courtès
  2010-06-02  7:38 ` Andy Wingo
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Courtès @ 2010-06-01 21:25 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Hello,

‘procedure-name’ doesn’t currently work on VM programs.  It may be due
to commit bdf7759c, which commented out ‘maybe-name-value!’ calls in
psyntax.

Why are these commented out?  Is there some bootstrapping issue involved
(e.g., ‘maybe-name-value!’ can’t work with the evaluator)?

Besides, in terms of workflow, here’s my wish list:  ;-)

  * Never leave a ‘FIXME’ without a comment explaining what should be
    fixed and why.

  * Add comments.  I find psyntax scary, because it’s large, somewhat
    cryptic, and sparsely commented.

  * Leave public posts about large changes like those related to
    psyntax, memoization, “expanded structures” (?) & co. of
    May 19th/20th.  (I personally don’t get anything of what’s
    happened.)

What do you think?

Thanks,
Ludo’.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Programs are nameless
  2010-06-01 21:25 Programs are nameless Ludovic Courtès
@ 2010-06-01 22:19 ` Ludovic Courtès
  2010-06-02  7:38 ` Andy Wingo
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2010-06-01 22:19 UTC (permalink / raw)
  To: guile-devel

ludo@gnu.org (Ludovic Courtès) writes:

>   * Leave public posts about large changes like those related to
>     psyntax, memoization, “expanded structures” (?) & co. of
>     May 19th/20th.  (I personally don’t get anything of what’s
>     happened.)

In the meantime I read the excellent NEWS (heh...), which nicely conveys
the big picture.  The details still escape me, though.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Programs are nameless
  2010-06-01 21:25 Programs are nameless Ludovic Courtès
  2010-06-01 22:19 ` Ludovic Courtès
@ 2010-06-02  7:38 ` Andy Wingo
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Wingo @ 2010-06-02  7:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

Hello

On Tue 01 Jun 2010 23:25, ludo@gnu.org (Ludovic Courtès) writes:

> ‘procedure-name’ doesn’t currently work on VM programs.  It may be due
> to commit bdf7759c, which commented out ‘maybe-name-value!’ calls in
> psyntax.
>
> Why are these commented out?  Is there some bootstrapping issue involved
> (e.g., ‘maybe-name-value!’ can’t work with the evaluator)?

Yep. We only have constructors for tree-il / macroexpanded structures in
psyntax; we would need a mutator to be able to patch the name. There are
various ways to fix this: add a mutator, add a second pass in the
compiler to name values...

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-02  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-01 21:25 Programs are nameless Ludovic Courtès
2010-06-01 22:19 ` Ludovic Courtès
2010-06-02  7:38 ` Andy Wingo

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).