"Jon Wilson" <[EMAIL PROTECTED]> writes:
> Hi all,
> I just had a random idea, and thought I'd run it by y'all. What if you
> could compose modules from the REPL, and then write them to a file?
Or alternatively you could write some Emacs Scheme mode support to
allow you to evaluate definitions
Olwe,
If you have a reasonably powerful machine, try Gentoo linux. People get scared
of the idea of a source based distro, but I feel there is no better way to
learn than stumbling through the Gentoo Handbook (which is primo). There is
linux et al, and then there is Red Hat et al.
-Ori
Dan McMahill <[EMAIL PROTECTED]> writes:
> I'm trying to provide scheme access to a C function which has the same
> interface a printf(). What I'd like to do in scheme is something like
But, doesn't SLIB already have this?
(info "(slib) Standard Formatted Output")
--
William
___
On Tue, Apr 25, 2006 at 08:44:55AM -0400, Dan McMahill wrote:
>
> Hello,
>
> I'm trying to provide scheme access to a C function which has the same
> interface a printf(). [...]
> SCM g_funcs_log(SCM s_num_list)
> {
> SCM s_element;
> int length;
> int i;
>
> /* Check that the input is
Hello,
I'm trying to provide scheme access to a C function which has the same
interface a printf(). What I'd like to do in scheme is something like
(gschem-log
"This is a %s message with %d args, pi is %g\n"
"log"
3
3.14
)
so I've gotten as far as a function which takes a variabl
From: "Jon Wilson" <[EMAIL PROTECTED]>
Date: Mon, 24 Apr 2006 18:31:55 -0700
(define mod (make-module (my modulename)))
(define f1 (lambda () (display "f1")))
(define value 7)
(add-export mod f1 value)
(write-module-file "my_modulename.scm")
you can use `define-module' in a r