-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any possibility to add support to Scheme? #666
Comments
Oh and I think another thing I should mention is that s7 is under BSD license, and I'm not sure if there's any problem with it. |
I've been poking at various options for this myself ever since I started using a-Shell. I'd love to use Guile, but since that is AGPL I don't think there is much of a chance. Things I've tried:
The lack of |
Hi, But in the meantime, you can use |
Thanks a lot! Finally I can write scheme on iOS. |
That's amazing. I might try my hand at compiling PicoLisp (or, even better, GNU Guile) again. Guile in particular has an almost Python-level amount of batteries included, so I've been quite interested in getting it to work. |
If you manage to do it, please send it my way so I can add them to |
I'll let you know. I need to rebuild my WASI setup from scratch, going to see if I can do a Docker container or something like that for a reproducible environment. |
If you are on OSX, I now provide a ready-so-use SDK here: https://github.com/holzschu/wasi-sdk/releases/download/wasi-sdk-aShell-19/wasi-sdk.tar.gz It contains the binaries (clang, ar, wasm-ld...) and the sysroot, with a bunch of auxiliary libraries. |
Ah, right. I'm on everything, I just default to Linux for building stuff because I like my sandboxes away from my laptop :) |
I was trying to write scheme in a-shell.
After a glance at the Implementations section at scheme.org, I chose
s7
since it exists as two files:s7.c
ands7.h
.But the problem is the implementation includes
setjmp.h
which is not supported by web assembly.Also I know nothing about iOS development so compile it and side-load the new version of app is not very possible.
So I wonder if a-shell could include s7 as pre-complied binary (and maybe a simple repl mentioned here/here as well?).
But I am aware that scheme is not a widely used language (also s7 is not a perfect implementation of scheme compared to chez scheme), but since it's a 2-file problem, I think it's feasible and should (really?) benefit some people.
Thanks a lot for considering this(
The text was updated successfully, but these errors were encountered: