(guard
(exn
(#t (display 1)))
(raise 1))
gxi
, but I'm getting this error when I try to compile it with gxc
:*** ERROR IN gx#core-expand-ref% -- Syntax Error
*** ERROR IN "test.ss"@1.2
--- Syntax Error: Reference to unbound identifier
... form: (%#ref guard)
... detail: guard at "test.ss"@1.2
gxc -exe test.ss -o test
.
;; guard has rather insane semantics of jumping back when there is no else clause
lol
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo sh
distrobox-create --name gerbil-dev --image archlinux:latest
sudo pacman -S base-devel git gcc
git clone https://aur.archlinux.org/gerbil-scheme
cd gerbil-scheme
makepkg -si