s9fes code is easy to read but there are lots of choices on unix platforms which are better than s9fes in many respects. I usually use gambit or chez scheme. But most of them depend on unix or tools available on unix. While creating a scheme interpreter is relatively easy, what is missing is an industrial strength scheme “with batteries included” (Go is a good example of this). And no, IMHO Racket is not it. 

On Jan 23, 2023, at 3:34 AM, Nick LaForge <nicklaforge@gmail.com> wrote:


Not Plan 9, but lately I've been working in Chicken, which is a lovely pragmatic Scheme for *nix: https://www.call-cc.org/ . Perhaps I should give s9fes a shot as well!

Nick

On Fri, Jan 20, 2023 at 11:47 AM Bakul Shah <bakul@iitbombay.org> wrote:
Thanks!

Nick Nickolov's k comes with solutions to ~150  AoC-{2015..2022} puzzles. All run when you make k! As an example, here is aoc/21/25.k (Game of Sea Cucumbers, which Russ vlogged about): 

#!../../k
n:#'1*:\x:".>v"?0:"i/25"
(l;d;r;u):n/'n!'/:(!n)+/:3(|1 -1*)\!2 /left down right up
i:0;{i+:1;x:a[r]+x*~a:(1=x)>x l;(2*a d)+x*~a:(2=x)>x u}/,/x;i

[Of course, the real fun is in solving these puzzles but it helps to know what others do!]
Unfortunately no plan9 port as it relies on mmap.


It is also one of the fastest (~0.5 sec to generate and add a billion numbers on a Ryzen 2700).

On Jan 19, 2023, at 9:07 AM, Skip Tavakkolian <skip.tavakkolian@gmail.com> wrote:

Regarding Ivy, rsc has some fantastic example code in the form of
solutions to the Advent of Code 2021 puzzles:
https://www.youtube.com/@rscgolang/videos

On Thu, Jan 19, 2023 at 7:48 AM Bakul Shah <bakul@iitbombay.org> wrote:

On Jan 19, 2023, at 7:57 AM, mkf9 <mkf9@riseup.net> wrote:

Lassi Kortela wrote:
Chibi-Scheme has run on Plan 9.
and also S9, which Bakul Shah ported to Plan 9,
https://github.com/bakul/s9fes.

Nils M Holm, the author of s9fes, did the original
port with some help from me. He didn't want to
maintain plan9 related changes which is why I am
maintaining it. Nils also has a book on it but
AFAIK it doesn't cover anything specific to plan9.

Speaking of little languages....
Nils also ported his klong array programming language
to plan9 & has a book on it! Slightly more verbose
than k (roughly k3 from kx.com)

Then there is https://github.com/ktye/i which supports
a dialect of k. Not sure which, probably k6 or k7. And
there is minimal help in the form of readme.txt but it
compiles & runs on 9front:

% git/clone https://github.com/ktye/i
% git/clone https://github.com/ktye/wg
% cd i
% go build '-buildvcs=false'
% ./k
ktye/k
!10
0 1 2 3 4 5 6 7 8 9
+\!10
0 1 3 6 10 15 21 28 36 45
d:`a`b`c!(1 2;3 4;5 6)
d
`a|1 2
`b|3 4
`c|5 6
+d
a b c
-----
1 3 5
2 4 6
\\

There is of course Rob Pike's ivy.

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7b0afbefb53189b6-Mfc5857d5dc8b7c9e5c3f2194
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription