3 ms·
Hi, I contribute to Guile (in a very small way); I'm happy to answer whatever questions I can about it. You're right, I don't know of any newbie guides. If yo
by noahl 14y ago
Hi,
I contribute to Guile (in a very small way); I'm happy to answer whatever questions I can about it.
You're right, I don't know of any newbie guides. If you already know Scheme, you'll find Guile easy, but if you don't, you'll need to learn that. You might be able to get started with the Guile manual, but that seems a little difficult, because it's really for reference. SICP (http://mitpress.mit.edu/sicp/full-text/book/book.html http://mitpress.mit.edu/sicp/full-text/book/book.html) is the classic way to learn Scheme. If you're not interested in that, you can search for another introduction to Scheme. There are plenty of them around. The real issue for someone who knows how to program already is that Scheme is often used as a teaching language, so a lot of the introductions will be very basic.
There is a JavaScript frontend, but I don't think it's finished yet. Yes, if you embedded Guile in your program you could extend your program with JS, but you might need to do some work on Guile's JavaScript implementation first. Although even in its present state, it should be much, much easier to complete Guile's implementation than to build your own; plus you'd get the benefit of Guile's backend compiler work.
As for webapps, no, I don't think you could do what you're talking about. You can certainly use Guile to write the backend to a web app, and in fact it has a (web ...) series of modules for that, but you could do that with any other language too. You can't use Guile in the frontend of a web app, because that really depends on what browsers support. (Although it's possible you could use Guile to compile Scheme to JavaScript, if you want to do that.)