Re: Read characters from without newline

2021-08-29 Thread Hans-Werner Roitzsch
Thank you all for your pointers, hints and solutions! I shall try them out : ) Best regards, Zelphir On 8/29/21 1:47 AM, Tim Meehan wrote: > Second for guile-termios, I use it and like it very much (saved my bacon > with a program I was writing). > > On Sat, Aug 28, 2021 at 3:56 PM Frank Terbeck

syntax-case equivalent to syntax-rules

2021-08-29 Thread Damien Mattei
hello, i write a macro that needs both the features of syntax-rules and syntax-case based on documentation: https://www.gnu.org/software/guile/manual/html_node/Syntax-Case.html i have : ;; scheme@(guile-user)> (def (foo) (when #t (return "hello") "bye")) ;; scheme@(guile-user)> (foo) ;; "hello"

Re: syntax-case equivalent to syntax-rules

2021-08-29 Thread Damien Mattei
i find myself that the order of cases in syntax-case and macros is important, complex case must be put before simplest ones in order to avoid them to be parsed before, unless that they are shadowed by simplest ones... the solution was just to reorder them from complex -> simple ones: (define-synt