On Mon, Jul 2, 2012 at 11:38 AM, Ludovic Courtès l...@gnu.org wrote:
For use from a Fortran program I am collecting API fixes for libguile.so
as wrapper functions for what is provided to C-programs as macros.
I noted that some of the macros are function-macros some are symbol
macros. An
Quote from
http://lists.gnu.org/archive/html/guile-devel/2001-06/msg00348.html
Do we want scm_list_0 to scm_list_9 anyway?
I'd say, forget about scm_list_0. With respect to the others, we should
at least provide those which are used in libguile (egoistic point of
view, isn't it?). About
Hello!
Nala Ginrut nalagin...@gmail.com skribis:
Hmm...I still get that error message in stable-2.0 branch for ecmascript.
Which message?
Ludo’.
Hi Stefan,
Stefan Israelsson Tampe stefan.ita...@gmail.com skribis:
Hygiene is harder to maintain. e.g. I kept on hitting this kind of code
snippets
#'(let ((x v))
#,(f rest #'x))
The problem with this code is hygiene, I need to make a gensym and use
with-syntax to bound x to that
Yeah. Though here, you could still write bindings for ‘scm_from_int32’
(the real function) instead of ‘scm_from_int’, for instance, no?
Right.
I assume there was a reason to introduce scm_to/from_int macros
and that it gets defined to either -32 or -64 versions depending on
the build/platform
Maybe this help to see what I'm after,
#'(let ((x v)) #.(f #'x))
=
(let-syntax ((g (lambda (stx) (syntax-case stx ((_ x) (f #'x)
#'(let ((x v)) (g x))
Now I would like to have a corresponding #.@ notation as well but can't
find an analog
for that :-(
/Stefan
On Mon, Jul 2, 2012 at
Hello,
scm-pointer takes a Scheme value and returns a Scheme value which is a
foreign pointer to the Scheme value. It has been in Guile since 2.0 I
think.
scm_to_pointer takes a Scheme value which is a foreign pointer, and
unpacks that foregin pointer as a void*.
scm_to_pointer is a new
On Mon 02 Jul 2012 09:53, Stefan Israelsson Tampe stefan.ita...@gmail.com
writes:
Anyway I can now compile simple functions to native sequences of machine code
but with some
tools around it so let me explain the setup.
Where is this code? Sorry for not following the context.
I agree with
Hi,
Alexei Matveev alexei.matv...@gmail.com skribis:
I assume there was a reason to introduce scm_to/from_int macros
and that it gets defined to either -32 or -64 versions depending on
the build/platform (not sure what else, but Guile packagers know it).
Using a specific one invites for
Hey!
Stefan Israelsson Tampe stefan.ita...@gmail.com skribis:
Maybe this help to see what I'm after,
#'(let ((x v)) #.(f #'x))
=
(let-syntax ((g (lambda (stx) (syntax-case stx ((_ x) (f #'x)
#'(let ((x v)) (g x))
Sorry, I fail to understand the problem you’re trying to solve.
I thought it's fixed with my patch:
http://lists.gnu.org/archive/html/guile-devel/2012-05/msg1.html
And Noah said it's done in the tree(I think it's stable-2.0), but I
still get the error message like this:
--error--
GNU Guile
11 matches
Mail list logo