Discussion:
[9fans] Scheme
(too old to reply)
Bakul Shah
2013-03-18 18:27:36 UTC
Permalink
Can we get back to plan9?

I've updated my bitbucket repo of s9fes Scheme to its author's latest version. s9, the scheme interpreter, works fine but bundled scheme programs don't yet work due to their unix dependencies. The low level p9 interface is the same as before. I have tested it on x86 and arm. If anyone is interested in scheme hacking, there are some fun little projects: a GUI library, a library to build scheme based file servers, etc. A bigger project is to add a proper code generator.

Chibi scheme also works on p9 but it is a moving target and it has more unix & shared lib dependencies. And I haven't ported my p9 support to it.
Matthew Veety
2013-03-18 21:44:49 UTC
Permalink
Post by Bakul Shah
Can we get back to plan9?
I've updated my bitbucket repo of s9fes Scheme to its author's latest version. s9, the scheme interpreter, works fine but bundled scheme programs don't yet work due to their unix dependencies. The low level p9 interface is the same as before. I have tested it on x86 and arm. If anyone is interested in scheme hacking, there are some fun little projects: a GUI library, a library to build scheme based file servers, etc. A bigger project is to add a proper code generator.
Chibi scheme also works on p9 but it is a moving target and it has more unix & shared lib dependencies. And I haven't ported my p9 support to it.
I'm very interested in this. Do you have a link to your bitbucket?
ron minnich
2013-03-18 21:59:51 UTC
Permalink
bitbucket.org
search for bakul
https://bitbucket.org/bakul/s9fes
Bakul Shah
2013-03-18 22:02:48 UTC
Permalink
Post by Matthew Veety
I'm very interested in this. Do you have a link to your bitbucket?
https://bitbucket.org/bakul/s9fes

You can just `hg clone' from the above url or log into
bitbucket.org if you want to use its fancier tools.
erik quanstrom
2013-03-18 22:13:49 UTC
Permalink
seems to work on amd64.

; ./6.out -i - -n -l s9-real.scm -l plan9/plan9.scm -l plan9/config.scm -d s9.image
; mv 6.out s9
; ./s9
Scheme 9 from Empty Space
(cons 'a 'b)
(a . b)

- erik
Bakul Shah
2013-03-18 22:49:40 UTC
Permalink
Post by erik quanstrom
seems to work on amd64.
Thanks to plan9 c compilers!
Post by erik quanstrom
; ./6.out -i - -n -l s9-real.scm -l plan9/plan9.scm -l plan9/config.scm -d s9.image
; mv 6.out s9
; ./s9
Scheme 9 from Empty Space
(cons 'a 'b)
(a . b)
mk tests

runs a bunch of tests.

The same code base should work on FreeBSD & Linux. s9 builds
on OS X but image dump and use doesn't.

This was a quick hack. The mkfile needs work. The low level
plan9 interface probably needs work too. Suggestions welcome.

s9help shouldn't be too hard to fix and will be very useful
in exploring s9fes.

If the plan9 port of curses can be made to work with
s9/ext/curses.* porting s9e (s9 editor) will be much easier.
It has integrated REPL support etc.

There are more goodies in s9/{contrib,prog,ext}

Don't forget to check out

s9 author Nils Holm's site:
http://www.t3x.org/
If you are new to Scheme:
http://www.t3x.org/s9book/index.html
you can buy "Scheme from Empty Space" book from Lulu. The
book version of s9fes is a bit older (you can get it from his
website).

Laurent Malvert
2013-03-18 21:58:09 UTC
Permalink
Post by Matthew Veety
Post by Bakul Shah
Can we get back to plan9?
Yes, please.
Post by Matthew Veety
Post by Bakul Shah
I've updated my bitbucket repo of s9fes Scheme to its author's latest version. s9, the scheme interpreter, works fine but bundled scheme programs don't yet work due to their unix dependencies. The low level p9 interface is the same as before. I have tested it on x86 and arm. If anyone is interested in scheme hacking, there are some fun little projects: a GUI library, a library to build scheme based file servers, etc. A bigger project is to add a proper code generator.
Chibi scheme also works on p9 but it is a moving target and it has more unix & shared lib dependencies. And I haven't ported my p9 support to it.
I'm very interested in this. Do you have a link to your bitbucket?
Allow me:

https://bitbucket.org/bakul/s9fes/

--
Laurent Malvert
Continue reading on narkive:
Loading...