guile-user
[Top][All Lists]
Advanced

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

SCM to C string


From: Viktor Pavlenko
Subject: SCM to C string
Date: Thu, 20 Jun 2002 16:39:21 -0400

Hi All,

I've started playing with guile recently and am very excited about
it:)

My program parses a scheme config file. If configuration is not valid
from the application point of view (but is a valid scheme expression)
I signal error. What I would like to do is to dump the offending SCM
object to C-style string so that I can display it as debugging
information.

For instance I'd like convert SCM object which contains '("a" 1) into
C string "(\"a\" 1)".

I browsed the docs and could find anything. Any tips?

Thanks in advance

Viktor





reply via email to

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