unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Wilfred Hughes <me@wilfred.me.uk>
To: Andy Wingo <wingo@pobox.com>
Cc: 24363@debbugs.gnu.org
Subject: bug#24363: Acknowledgement (Clarify the VM docs)
Date: Sun, 4 Sep 2016 20:23:36 -0400	[thread overview]
Message-ID: <CAFXAjY7XMU9n-SQp8U6GDm-4ynwAhTtdc8iPsVC+_ZPG6q0OrA@mail.gmail.com> (raw)
In-Reply-To: <87d1kjzlog.fsf@pobox.com>


[-- Attachment #1.1: Type: text/plain, Size: 86 bytes --]

Patch attached.

I'd like to sort copyright papers too, let me know what's necessary.

[-- Attachment #1.2: Type: text/html, Size: 136 bytes --]

[-- Attachment #2: 0001-Clarify-bootstrap-docs.patch --]
[-- Type: text/x-patch, Size: 1579 bytes --]

From 0b7a585ffb3a0e5b33e10101cc817dbf50736a2f Mon Sep 17 00:00:00 2001
From: Wilfred Hughes <me@wilfred.me.uk>
Date: Sun, 4 Sep 2016 20:14:49 -0400
Subject: [PATCH] Clarify bootstrap docs

* doc/ref/vm.texi: Add a sentence stating which parts of the bytecode
  toolchain are in C, and which are in Scheme. This avoids confusion if
  users assume Guile==Scheme and so assume the whole toolchain is in
  Scheme.
---
 doc/ref/vm.texi | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/doc/ref/vm.texi b/doc/ref/vm.texi
index 2f32c51..9766ccb 100644
--- a/doc/ref/vm.texi
+++ b/doc/ref/vm.texi
@@ -62,10 +62,12 @@ The obvious solution is to compile to a virtual machine that is
 present on all Guile installations.
 
 The easiest (and most fun) way to depend on a virtual machine is to
-implement the virtual machine within Guile itself. This way the
-virtual machine provides what Scheme needs (tail calls, multiple
-values, @code{call/cc}) and can provide optimized inline instructions
-for Guile (@code{cons}, @code{struct-ref}, etc.).
+implement the virtual machine within Guile itself. Guile contains a
+bytecode interpreter (written in C) and a Scheme to bytecode compiler
+(written in Scheme). This way the virtual machine provides what Scheme
+needs (tail calls, multiple values, @code{call/cc}) and can provide
+optimized inline instructions for Guile (@code{cons}, @code{struct-ref},
+etc.).
 
 So this is what Guile does. The rest of this section describes that VM
 that Guile implements, and the compiled procedures that run on it.
-- 
2.9.3


  reply	other threads:[~2016-09-05  0:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04  5:04 bug#24363: Clarify the VM docs Wilfred Hughes
     [not found] ` <handler.24363.B.147296552715192.ack@debbugs.gnu.org>
2016-09-04  5:08   ` bug#24363: Acknowledgement (Clarify the VM docs) Wilfred Hughes
2016-09-04 16:14     ` Andy Wingo
2016-09-05  0:23       ` Wilfred Hughes [this message]
2016-09-05 18:52         ` Andy Wingo
2017-03-01  9:07           ` Andy Wingo

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=CAFXAjY7XMU9n-SQp8U6GDm-4ynwAhTtdc8iPsVC+_ZPG6q0OrA@mail.gmail.com \
    --to=me@wilfred.me.uk \
    --cc=24363@debbugs.gnu.org \
    --cc=wingo@pobox.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).