[gambit-list] Macros in Black Hole

David N Murray dmurray at jsbsystems.com
Thu Feb 4 23:14:52 EST 2010


On Feb 5, Álvaro Castro-Castilla scribed:

> Hi!
>
> I'm new to this list and also to Gambit. I'm trying to get used to it, and I
> like most of the things very much (taking into account that I'm new to
> Scheme).
>
> I'm trying to use Black Hole module system, and I've found out something
> that I don't understand how it works or what I'm doing wrong.
>
> If you have this scheme file, called for example "bhtest.scm"
>
> (load "/usr/lib/modules/build")
> (import (std srfi/14))
>

I just figured this out today:
$ cat ~/.gambcini
; load blackhole, always
(load "~~/lib/syntax-case")
(load "~~/lib/modules/build")
$ gsc -:s,dar
Gambit v4.6.0

> (import (std (srfi/1))
>

Runs great inside Emacs, too.
; put gamit.el in emacs/site-lisp
(require 'gambit)
(setq scheme-program-name "gsc -:s,dar-")

hth,
dave



More information about the Gambit-list mailing list