Hi,
I'm trying to enable debbuging - that's (debug-enable 'backtrace) in
Scheme - from a C program on-the-fly. Therefore, as far as I
understand from the quite poorly documented guile manual, I should
use scm_debug_options() for this purpose. But I couldn't find any clue
about using this function
On Jul 29 03:08, Clinton Ebadi wrote:
> You should be able to put something like:
>
> SCM_DEVAL_P = 1;
> SCM_RECORD_POSITIONS_P = 1;
> SCM_BACKTRACE_P = 1;
> SCM_RESET_DEBUG_MODE;
>
> Into your real_main (the one passed to scm_boot_guile). This will give
> you debug output
On Jul 31 10:53, dave wrote:
> I had to work through this a while back, and the problem I had was that
> there are two types of error handler callback - one is called before the
> stack is unwound, the other after. If you only set the error callback
> for after the unwind there is no stack to do th
On Aug 28 11:21, Neil Jerram wrote:
> A common requirement is to be able to show as much useful context as
> possible when a Scheme program hits an error. The most immediate
> information about an error is the kind of error that it is - such as
> "division by zero" - and any parameters that the co
On Sep 07 10:36, Neil Jerram wrote:
> Volkan YAZICI <[EMAIL PROTECTED]> writes:
> > I've another situation that doesn't get executed inside a `catch' block.
> > For instance, I need to make some variable definitions just before
> > executing related code v
Hi,
I need such a feature:
/*
* If there's an already running guile process in the background,
* return it, otherwise create a new one and return new process.
*/
interp = guile_interp(...);
With such a functionality, it'd be possible to
- Parse & execute faster. (We won't need to
Hi,
On Oct 13 02:30, Ludovic Courtès wrote:
> Looks like nobody answered you, so here we go.
Thanks so much for your detailed post. I solved (a small part of) my
problem by invoking scm_init_guile() just at the start of the backend
process. (But caching parse plans is still a PITA for now.) OTOH,
Hi,
I'm executing seperate procedures in the same Guile session initialized
by scm_init_guile(). Just after initialization, some global definitions
get loaded. While executing supplied procedures sequentially, I want to
restrict their access to some variables. Namely I want to set some
definitions
Hi,
Can somebody help me to figure out the syntax error in below let-syntax
scope:
(let-syntax
((case-cond
(syntax-rules ()
((case-cond
key
testfn
(items1 action1)
(items2 action2)
...)
(begin
(define (filter items
On Oct 20 09:49, Neil Jerram wrote:
> Volkan YAZICI <[EMAIL PROTECTED]> writes:
> > I'm executing seperate procedures in the same Guile session initialized
> > by scm_init_guile(). Just after initialization, some global definitions
> > get loaded. While executing
Hi,
On Oct 20 09:45, Neil Jerram wrote:
> Volkan YAZICI <[EMAIL PROTECTED]> writes:
> > - Parse & execute faster. (We won't need to create a new process
> >everytime.)
>
> Is this for a specific application, out of interest?
Yes, it's for PL/scheme.
Hi all,
This may look a little bit similar to my previous question but, I
couldn't figure out a solution and thought it'd be best to hear your
opinions about the problem: How can I create a new [for instance (let
...)] scope within my C code? By using such a method, after the
execution of the scop
On Oct 31 09:43, Neil Jerram wrote:
> I'm not sure what you mean by a new scope in C code. C code must
> always obey C's rules, of course.
>
> Perhaps you mean that the C code has some Scheme code that it wants to
> eval, but that it doesn't want it to make any lasting bindings.
>
> Then I guess
Hi,
Within scm_eval(), I need to use a very simple module:
(define-module ultra-complex-thingy #:pure)
(Yeah, that's the complete source code of my module.) The problem is,
how can I create and use that module within my C code, in scm_eval()?
Any assistance will be really appreciated.
Regard
Hi,
On Nov 22 06:43, Ludovic Courtès wrote:
> A "module" object is (roughly) little more than a hash table (where
> symbols of global variables are looked up) and a list of modules
> depended on.
>
> `make-module' is the constructor of module objects: it creates, a new,
> empty module, with no de
Hi,
[I've some questions about guile-debugging package and because of I
couldn't find a suitable place to ask, I decided to post them in here.
I hope it's ok.]
While executing an s-exp with some breakpoints, everything goes
fine. But after I finish the execution and want to re-execute the code
wi
Hi,
[Excuse me for the late reply. I was quite busy with setting up the
furnitures and just found chance to put my computer on a suitable
table.]
On Dec 29 02:29, Neil Jerram wrote:
> Volkan YAZICI <[EMAIL PROTECTED]> writes:
> > While executing an s-exp with some breakpoints,
Hi,
I think we should support emacs console users too. AFAIK, below lines
just work with emacs under X.
gds-scheme.el:
--
406 (define-key map [mouse-1] 'gds-show-last-stack)
407 (insert "[click here to show error stack]"
As an emacs user who prefers to use e
On Jan 14 01:30, Neil Jerram wrote:
> Volkan YAZICI <[EMAIL PROTECTED]> writes:
> > gds-scheme.el:
> > --
> > 406 (define-key map [mouse-1] 'gds-show-last-stack)
> > 407 (insert "[click here to show error stack]"
On Jan 14 01:01, Neil Jerram wrote:
> With Guile 1.8 or CVS, I find that the breakpoint doesn't even work
> the first time! I'm still looking into that.
I use Guile from cvs tip too. And after you asked for "Where did you
place the new breakpoint?" I realized that the problem is with putting
the
20 matches
Mail list logo