unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* SCM to C string
@ 2002-06-20 20:39 Viktor Pavlenko
  2002-06-20 21:04 ` Brett Viren
  2002-06-20 22:04 ` Christopher Cramer
  0 siblings, 2 replies; 7+ messages in thread
From: Viktor Pavlenko @ 2002-06-20 20:39 UTC (permalink / raw)


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



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-06-21 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-20 20:39 SCM to C string Viktor Pavlenko
2002-06-20 21:04 ` Brett Viren
2002-06-20 22:10   ` Viktor Pavlenko
2002-06-20 22:04 ` Christopher Cramer
2002-06-20 22:09   ` Viktor Pavlenko
2002-06-21  4:17     ` Viktor Pavlenko
2002-06-21 15:22       ` Rob Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).