[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should Guix support writing CLI Common Lisp scripts? (Think Roswell)
From: |
jgart |
Subject: |
Re: Should Guix support writing CLI Common Lisp scripts? (Think Roswell) |
Date: |
Tue, 27 Dec 2022 21:06:28 +0000 |
> What about something like this?
>
> --8<---------------cut here---------------start------------->8---
> #!/bin/sh
> #|-*- mode:lisp -*-|#
> #|
> exec guix shell sbcl -- sbcl --script $0 "$@"
> |#
>
> (format t "test~%")
> --8<---------------cut here---------------end--------------->8---
>
> This example is pretty similar to the ROS file header which would be
> like.
>
> --8<---------------cut here---------------start------------->8---
> #!/bin/sh
> #|-*- mode:lisp -*-|#
> #|
> exec ros -Q -- $0 "$@"
> |#
>
> (format t "test~%")
> --8<---------------cut here---------------end--------------->8---
>
> Cheers,
> Russell
Yaaaaas!
That's it!!!