unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Alex Vong <alexvong1995@gmail.com>
Cc: guile-user@gnu.org, bootstrappable@freelists.org
Subject: Re: Can Guile be bootstrapped from source without psyntax-pp.scm?
Date: Fri, 07 Jul 2017 12:40:46 -0400	[thread overview]
Message-ID: <87d19cfbe9.fsf@netris.org> (raw)
In-Reply-To: <87podc1h53.fsf@gmail.com> (Alex Vong's message of "Fri, 07 Jul 2017 22:00:24 +0800")

Alex Vong <alexvong1995@gmail.com> writes:

> Mark H Weaver <mhw@netris.org> writes:
>
>> At this point, I believe it would be quite feasible for a single hacker
>> to audit our psyntax-pp.scm and compare it to psyntax.scm within a
>> reasonable time frame.  Furthermore, when we make local changes to
>> psyntax.scm, the corresponding changes to psyntax-pp.scm are localized
>> and quite easy to audit as well, so the full audit need not be repeated.
>>
> It is really good that small change in source --> small change in
> binary. A fancy way of saying it: the map between source and binary is
> in some sense "continuious".

Sorry, I should have qualified my statement above with the word
"usually".  There are some kinds of local changes that result in
non-local changes to psyntax-pp.scm, e.g. if one of the macros are
changed.

A particularly pessimal case is when the 'syntax-object' structure is
changed, since its accessors are macros that are used throughout the
code.  This case actually happened recently in these commits:

  https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=eb84c2f2da83cf04214bbacf4b33528ce09a5b1a
  https://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=a42bfae65f445178d3608433356ce132d1e7369e

As far as I'm aware, this is the first time such a large non-local
change has occurred since my work to minimize psyntax-pp.scm in 2012.

      Mark



  reply	other threads:[~2017-07-07 16:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-06 15:24 Can Guile be bootstrapped from source without psyntax-pp.scm? Alex Vong
2017-07-07  1:42 ` Mark H Weaver
2017-07-07 14:00   ` Alex Vong
2017-07-07 16:40     ` Mark H Weaver [this message]
2017-07-07 14:55   ` Jan Nieuwenhuizen
  -- strict thread matches above, loose matches on Subject: below --
2021-03-13 22:42 Michael Schierl

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=87d19cfbe9.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=alexvong1995@gmail.com \
    --cc=bootstrappable@freelists.org \
    --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).