[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PLEASE: debugging embedded guile code
From: |
Neil Jerram |
Subject: |
Re: PLEASE: debugging embedded guile code |
Date: |
16 May 2003 20:23:00 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Bruce" == Bruce Korb <address@hidden> writes:
Bruce> Based on your example, I would need to emit this to libguile:
Bruce> (eval-client-input "...whatever...")
Bruce> The problem is that the ``...whatever...'' is likely to
Bruce> often include double quotes, backslashes and all kinds of
Bruce> interesting stuff. I don't particularly want to go over
Bruce> the string and reformat it so that the reader can
Bruce> reconstruct what I already have in hand.
You don't have to. You can do something like this:
SCM str = gh_str02scm( "...whatever..." );
SCM proc = scm_c_lookup( "eval-client-input" );
scm_call_1(proc, str);
Does this make sense?
Neil
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/05/16
- Re: PLEASE: debugging embedded guile code,
Neil Jerram <=
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/05/16
- Re: PLEASE: debugging embedded guile code, Rob Browning, 2003/05/16
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/05/16
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/05/16
- Re: PLEASE: debugging embedded guile code, Bruce Korb, 2003/05/16
- Re: PLEASE: debugging embedded guile code, Paul Jarc, 2003/05/19