chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Re: using the compiler at runtime


From: Aleksej Saushev
Subject: [Chicken-users] Re: using the compiler at runtime
Date: Sat, 15 Nov 2008 17:40:52 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix)

  Hello!

Just two notes...

Mark Fredrickson <address@hidden> writes:

> While this is probably not what you are looking for, there is
> always  (system "csc -s path/to/file.scm").

In which case you definitly want to interface execvp(3) rather,
or create shell quoting function like shquote(3).

> This should help
> with issues of  using (eval ...). You can (write ...) your code
> to a temp file, run  csc on it, and (load ...) the .so.

In which case you want to interface mkstemp(3), handle "TMPDIR"
environment variable ("TMP" and "TEMP" on alternative systems)
and so on.


-- 
HE CE3OH...





reply via email to

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