How can I step through this code?

2022-10-05 Thread jgart
Hi How can I step through this code? (define-syntax do (syntax-rules () ((do ((var init step ...) ...) (test expr ...) command ...) (letrec ((loop (lambda (var ...) (if test (begin (if #f #f

Re: How can I step through this code?

2022-10-07 Thread jbranso
October 5, 2022 11:06 PM, "jgart" wrote: > Hi > > How can I step through this code? > If you ever find out, then let me know! I wish guile had a nice debugger like elisp. :) > (define-syntax do > (syntax-rules () > ((do ((var init step ...) ...) > (test

Re: How can I step through this code?

2022-10-07 Thread jgart
On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: > I wish guile had a nice debugger like elisp. :) I wish guile had a nice debugger like racket or common lisp. :)

Re: How can I step through this code?

2022-10-07 Thread jbranso
October 7, 2022 3:22 PM, "jgart" wrote: > On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: > >> I wish guile had a nice debugger like elisp. :) > > I wish guile had a nice debugger like racket or common lisp. :) I haven't actually tried those debuggers...

Re: How can I step through this code?

2022-10-07 Thread jgart
On Fri, 07 Oct 2022 21:52:40 + jbra...@dismail.de wrote: > October 7, 2022 3:22 PM, "jgart" wrote: > > > On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: > > > >> I wish guile had a nice debugger like elisp. :) > > > > I wish guile had a nice debugger like racket or common lisp.

Re: How can I step through this code?

2022-10-08 Thread jbranso
October 7, 2022 9:25 PM, "jgart" wrote: > On Fri, 07 Oct 2022 21:52:40 + jbra...@dismail.de wrote: > >> October 7, 2022 3:22 PM, "jgart" wrote: >> >> On Fri, 07 Oct 2022 18:45:36 + jbra...@dismail.de wrote: >> >> I wish guile had a nice debugger like elisp. :) >> >> I wish guile had

Re: How can I step through this code?

2022-10-08 Thread jgart
On Sat, 08 Oct 2022 15:03:54 + jbra...@dismail.de wrote: > That's smart! Did you try it? I've been trying to understand how some Guile code works by just throwing it in the Racket debugger. It doesn't always work but when it does it's like driving a fancy cadillac through the stack. It's too

Re: How can I step through this code?

2022-10-08 Thread jbranso
October 8, 2022 1:23 PM, "jgart" wrote: > On Sat, 08 Oct 2022 15:03:54 + jbra...@dismail.de wrote: > >> That's smart! > > Did you try it? I've been trying to understand how some Guile code works > by just throwing it in the Racket debugger. It doesn't always work but > when it does it's lik

Re: How can I step through this code?

2022-10-09 Thread jgart
On Sun, 09 Oct 2022 00:14:23 + jbra...@dismail.de wrote: > A debugger stepping through the code would have been awesome! Yup it would have! You're right! > Right now I am super in love with Guix. Me too, it's more like a passionate love hate relationship for me tbh. I need couples GNUthera

Re: How can I step through this code?

2022-10-10 Thread Ludovic Courtès
Hi, jgart skribis: > How can I step through this code? > > (define-syntax do > (syntax-rules () > ((do ((var init step ...) ...) > (test expr ...) > command ...) > (letrec >((loop > (lambda (var ...) >

Re: How can I step through this code?

2022-10-10 Thread jgart
On Mon, 10 Oct 2022 18:04:57 +0200 Ludovic Courtès wrote: > What you can do though, Thanks Ludo! Much appreciated!! I hadn't used ,optimize metacommand yet. I've used pk in Guile and Racket but not regularly tbh. Maybe I should start. Ludo, how would you step through this code? (define (list-

Re: How can I step through this code?

2022-10-10 Thread jbranso
October 9, 2022 12:30 PM, "jgart" wrote: > On Sun, 09 Oct 2022 00:14:23 + jbra...@dismail.de wrote: > >> A debugger stepping through the code would have been awesome! > > Yup it would have! You're right! > >> Right now I am super in love with Guix. > > Me too, it's more like a passionate

Re: How can I step through this code?

2022-10-10 Thread jgart
On Mon, 10 Oct 2022 19:49:23 + jbra...@dismail.de wrote: > October 9, 2022 12:30 PM, "jgart" wrote: > > > On Sun, 09 Oct 2022 00:14:23 + jbra...@dismail.de wrote: > > > >> A debugger stepping through the code would have been awesome! > > > > Yup it would have! You're right! > > > >> Ri