guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/05: Remove outdated README.guile-vm.


From: Andy Wingo
Subject: [Guile-commits] 01/05: Remove outdated README.guile-vm.
Date: Mon, 22 May 2017 11:35:25 -0400 (EDT)

wingo pushed a commit to branch stable-2.2
in repository guile.

commit f7b70c1435222ef2a4362f88ca5b232686613395
Author: Andy Wingo <address@hidden>
Date:   Mon May 22 12:55:04 2017 +0200

    Remove outdated README.guile-vm.
    
    * README.guile-vm: Remove.
---
 README.guile-vm | 117 --------------------------------------------------------
 1 file changed, 117 deletions(-)

diff --git a/README.guile-vm b/README.guile-vm
deleted file mode 100644
index 72ab6c9..0000000
--- a/README.guile-vm
+++ /dev/null
@@ -1,117 +0,0 @@
-This is an attempt to revive the Guile-VM project by Keisuke Nishida
-written back in the years 2000 and 2001.  Below are a few pointers to
-relevant threads on Guile's development mailing list.
-
-Enjoy!
-
-Ludovic Court�s <address@hidden>, Apr. 2005.
-
-
-Pointers
---------
-
-Status of the last release, 0.5
-  http://lists.gnu.org/archive/html/guile-devel/2001-04/msg00266.html
-
-The very first release, 0.0
-  http://sources.redhat.com/ml/guile/2000-07/msg00418.html
-
-Simple benchmark
-  http://sources.redhat.com/ml/guile/2000-07/msg00425.html
-
-Performance, portability, GNU Lightning
-  http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00132.html
-
-Playing with GNU Lightning
-  http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00185.html
-
-On things left to be done
-  http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00146.html
-
-
----8<---  Original README below.  -----------------------------------------
-
-Installation
-------------
-
-1. Install the latest Guile from CVS.
-
-2. Install Guile VM:
-
-  % configure
-  % make install
-  % ln -s module/{guile,system,language} /usr/local/share/guile/
-
-3. Add the following lines to your ~/.guile:
-
-  (use-modules (system vm core)
-
-  (cond ((string=? (car (command-line)) "guile-vm")
-        (use-modules (system repl repl))
-        (start-repl 'scheme)
-        (quit)))
-
-Example Session
----------------
-
-  % guile-vm
-  Guile Scheme interpreter 0.5 on Guile 1.4.1
-  Copyright (C) 2001 Free Software Foundation, Inc.
-
-  Enter `,help' for help.
-  address@hidden> (+ 1 2)
-  3
-  address@hidden> ,c -c (+ 1 2)        ;; Compile into GLIL
-  (@asm (0 1 0 0)
-    (module-ref #f +)
-    (const 1)
-    (const 2)
-    (tail-call 2))
-  address@hidden> ,c (+ 1 2)           ;; Compile into object code
-  Disassembly of #<objcode 403c5fb0>:
-
-  nlocs = 0  nexts = 0
-
-     0    link "+"                        ;; (+ . ???)
-     3    variable-ref
-     4    make-int8:1                     ;; 1
-     5    make-int8 2                     ;; 2
-     7    tail-call 2
-
-  address@hidden> (define (add x y) (+ x y))
-  address@hidden> (add 1 2)
-  3
-  address@hidden> ,x add               ;; Disassemble
-  Disassembly of #<program add>:
-
-  nargs = 2  nrest = 0  nlocs = 0  nexts = 0
-
-  Bytecode:
-
-     0    object-ref 0                    ;; (+ . #<primitive-procedure +>)
-     2    variable-ref
-     3    local-ref 0
-     5    local-ref 1
-     7    tail-call 2
-
-  Objects:
-
-     0    (+ . #<primitive-procedure +>)
-
-  address@hidden> 
-
-Compile Modules
----------------
-
-Use `guilec' to compile your modules:
-
-  % cat fib.scm
-  (define-module (fib) :export (fib))
-  (define (fib n) (if (< n 2) 1 (+ (fib (- n 1)) (fib (- n 2)))))
-
-  % guilec fib.scm
-  Wrote fib.go
-  % guile
-  guile> (use-modules (fib))
-  guile> (fib 8)
-  34



reply via email to

[Prev in Thread] Current Thread [Next in Thread]