Error in error?

2022-08-18 Thread sidhu1f
According to the guile (version 3.0.7) reference manual, (error "foo ~a" 'bar) should output "foo bar" but instead the output is "foo ~a bar". Am I missing something or is there a bug in error? Regards sidhu1f

Re: How can i make executable guile file to process command line arguments?

2022-08-18 Thread Zelphir Kaltstahl
Hello Jacob, On 8/18/22 16:01, Jacob Hrbek wrote: I have this file which i use to interact with a version controlled repository similar to a Makefile. How can i make it work with e.g. `./file.scm echo wheee` -> Will execute the `(define (echo msg) ...)` and output `wheee` in the terminal?

[ANN] Dezyne 2.16.0 released

2022-08-18 Thread Jan Nieuwenhuizen
We are happy to announce Dezyne 2.16 which introduces the `defer' keyword: A new language concept for implementing an asynchronous interface. With defer, the basic semantics are complete. * About Dezyne[0] is a programming language and a set of tools to specify, validate, verify, simulate,

Re: How can i make executable guile file to process command line arguments?

2022-08-18 Thread Olivier Dion via General Guile related discussions
On Thu, 18 Aug 2022, Jacob Hrbek wrote: > I have this file which i use to interact with a version controlled > repository similar to a Makefile. > > How can i make it work with e.g. `./file.scm echo wheee` -> Will execute > the `(define (echo msg) ...)` and output `wheee` in the terminal? You

How can i make executable guile file to process command line arguments?

2022-08-18 Thread Jacob Hrbek
I have this file which i use to interact with a version controlled repository similar to a Makefile. How can i make it work with e.g. `./file.scm echo wheee` -> Will execute the `(define (echo msg) ...)` and output `wheee` in the terminal? FWIW preferably i want it to work like `./file.scm