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
19 Performance, portability, GNU Lightning
20 http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00132.html
22 Playing with GNU Lightning
23 http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00185.html
25 On things left to be done
26 http://lists.gnu.org/archive/html/guile-devel/2001-03/msg00146.html
29 ---8<--- Original README below. -----------------------------------------
34 1. Install the latest Guile from CVS.
40 % ln -s module/{guile,system,language} /usr/local/share/guile/
42 3. Add the following lines to your ~/.guile:
44 (use-modules (system vm core)
46 (cond ((string=? (car (command-line)) "guile-vm")
47 (use-modules (system repl repl))
55 Guile Scheme interpreter 0.5 on Guile 1.4.1
56 Copyright (C) 2001 Free Software Foundation, Inc.
58 Enter `,help' for help.
59 scheme@guile-user> (+ 1 2)
61 scheme@guile-user> ,c -c (+ 1 2) ;; Compile into GLIL
67 scheme@guile-user> ,c (+ 1 2) ;; Compile into object code
68 Disassembly of #<objcode 403c5fb0>:
72 0 link "+" ;; (+ . ???)
78 scheme@guile-user> (define (add x y) (+ x y))
79 scheme@guile-user> (add 1 2)
81 scheme@guile-user> ,x add ;; Disassemble
82 Disassembly of #<program add>:
84 nargs = 2 nrest = 0 nlocs = 0 nexts = 0
88 0 object-ref 0 ;; (+ . #<primitive-procedure +>)
96 0 (+ . #<primitive-procedure +>)
103 Use `guilec' to compile your modules:
106 (define-module (fib) :export (fib))
107 (define (fib n) (if (< n 2) 1 (+ (fib (- n 1)) (fib (- n 2)))))
112 guile> (use-modules (fib))