1 This is an attempt to revive the Guile-VM project by Keisuke Nishida
2 written back in the years 2000 and 2001. Below are a few pointers to
3 relevant threads on Guile's development mailing list.
7 Ludovic Courtès <ludovic.courtes@laas.fr>, Apr. 2005.
13 Status of the last release, 0.5
14 http://lists.gnu.org/archive/html/guile-devel/2001-04/msg00266.html
16 The very first release, 0.0
17 http://sources.redhat.com/ml/guile/2000-07/msg00418.html
20 http://sources.redhat.com/ml/guile/2000-07/msg00425.html
22 Performance, portability, GNU Lightning
23 http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00132.html
25 Playing with GNU Lightning
26 http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00185.html
28 On things left to be done
29 http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00146.html
32 ---8<--- Original README below. -----------------------------------------
37 1. Install the latest Guile from CVS.
43 % ln -s module/{guile,system,language} /usr/local/share/guile/
45 3. Add the following lines to your ~/.guile:
47 (use-modules (system vm core)
49 (cond ((string=? (car (command-line)) "guile-vm")
50 (use-modules (system repl repl))
58 Guile Scheme interpreter 0.5 on Guile 1.4.1
59 Copyright (C) 2001 Free Software Foundation, Inc.
61 Enter `,help' for help.
62 scheme@guile-user> (+ 1 2)
64 scheme@guile-user> ,c -c (+ 1 2) ;; Compile into GLIL
70 scheme@guile-user> ,c (+ 1 2) ;; Compile into object code
71 Disassembly of #<objcode 403c5fb0>:
75 0 link "+" ;; (+ . ???)
81 scheme@guile-user> (define (add x y) (+ x y))
82 scheme@guile-user> (add 1 2)
84 scheme@guile-user> ,x add ;; Disassemble
85 Disassembly of #<program add>:
87 nargs = 2 nrest = 0 nlocs = 0 nexts = 0
91 0 object-ref 0 ;; (+ . #<primitive-procedure +>)
99 0 (+ . #<primitive-procedure +>)
106 Use `guilec' to compile your modules:
109 (define-module (fib) :export (fib))
110 (define (fib n) (if (< n 2) 1 (+ (fib (- n 1)) (fib (- n 2)))))
115 guile> (use-modules (fib))