News for hackers. Stuff that matters.
Re:GNU Guile 2.0.7 released by markokocic on Friday November 30, 2012 @09:23AM (#4853321)
I remember reading a while ago about an initiative to switch Emacs elisp implementation to use Guile backend. I haven't been watching that closely.

Does anyone have more information about the status of that project/initiative?

Re:GNU Guile 2.0.7 released by jfb on Friday November 30, 2012 @11:50AM (#4854018)
It's dead. It never really got legs; similar projects are proposed pretty much monthly on emacs-devel only to die quietly.
Re:GNU Guile 2.0.7 released by mhd on Friday November 30, 2012 @12:53PM (#4854401)
Yeah, it's fighting with "Let's reimplement Emacs in Common Lisp" for most often tried, yet ultimately unsuccessful project. I think there was a GSoC project recently, but haven't heard anything about its results.
Re:GNU Guile 2.0.7 released by tadfisher on Friday November 30, 2012 @01:27PM (#4854593)
There is Deuce [1], a project to port Emacs to Clojure. Specifically, the goal is to port the C core entirely to Clojure and replace many redundancies with JVM primitives; also, source-to-source transformation from Elisp to Clojure allows the editor to interpret Elisp on the fly.

[1] https://github.com/hraberg/deuce

Re:GNU Guile 2.0.7 released by jfb on Friday November 30, 2012 @02:47PM (#4855076)
The JVM seems like a really silly target for this. OH BOY! An editor that won't behave correctly in ANY environment!
Re:GNU Guile 2.0.7 released by tadfisher on Friday November 30, 2012 @04:34PM (#4855578)
You might have more experience in this area than I, but is this not the point of the JVM?
Re:GNU Guile 2.0.7 released by jfb on Friday November 30, 2012 @05:19PM (#4855779)
By targeting the JVM, you are giving up on a native user experience. Makes perfect sense when the user interface of your software is programmatic; insanity when you're trying to make software to be used by humans. Clojure is a good lisp, but hardly reason enough to toss all UI convention for. C + Guile makes about a zillion times more sense.
Re:GNU Guile 2.0.7 released by tadfisher on Friday November 30, 2012 @06:43PM (#4856096)
I disagree; you are not tied to Swing or any Java UI toolkit merely by using Clojure on the JVM. You can just as easily integrate with a GTK, Cocoa, and whatever Windows uses.

You'll notice how the current Emacs is weird on all three platforms by default (at least they switched the scrollbar position). C/Guile isn't a panacea for a UI frontend, they're entirely orthogonal.

Re:GNU Guile 2.0.7 released by chris_wot on Friday November 30, 2012 @08:36AM (#4853128)
Ok, so I've heard about Guile, but never really paid it any attention. The home page is interesting, but doesn't reference any newbie guides for people like me.

They seem to have a JavaScript compiler front end, does this mean that by implementing Guile in your program you could use js to enhance your app?

Next question: if you had a web based app, could you use Guile to extend the site?

Re:GNU Guile 2.0.7 released by noahl on Friday November 30, 2012 @08:52AM (#4853190)
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) 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.)

Re:GNU Guile 2.0.7 released by ths on Friday November 30, 2012 @12:33PM (#4854272)
If you want a lisp that compiles to JS, ClojureScript is also a good option. It's ready for use, and there's a lot of smart people working on making it better. The Clojure/ClojureScript community is also very good - intelligent and friendly.
Re:GNU Guile 2.0.7 released by bitdiddle on Friday November 30, 2012 @08:15AM (#4853046)
The one true lisp.
Re:GNU Guile 2.0.7 released by meaty on Friday November 30, 2012 @08:35AM (#4853125)
Well the lisp that doesn't make you want to gouge your eyes out (yes CL I'm looking at you).
Re:GNU Guile 2.0.7 released by sigzero on Friday November 30, 2012 @08:20AM (#4853065)
"Guile is an implementation of the SCHEME programming language, with support for many SRFIs, packaged for use in a wide variety of environments."
Re:GNU Guile 2.0.7 released by markokocic on Friday November 30, 2012 @09:22AM (#4853317)
... and Scheme, Common Lisp, Clojure and many others are just lisps.
Re:GNU Guile 2.0.7 released by sigzero on Friday November 30, 2012 @10:29AM (#4853574)
Dialects of...sure. Definitely not "the one true lisp".
Re:GNU Guile 2.0.7 released by bitdiddle on Friday November 30, 2012 @11:16AM (#4853828)
Well the one true lisp of course was given to us by Alonzo Church, that other guy we rarely hear of :)
Re:GNU Guile 2.0.7 released by BCM43 on Friday November 30, 2012 @11:15AM (#4853825)
I think it was a joke?
Re:GNU Guile 2.0.7 released by flavoie on Friday November 30, 2012 @10:31AM (#4853582)
Is Guile only for GNU system? Can it be embedded in OSX, iOS or Android application?
Re:GNU Guile 2.0.7 released by dchest on Friday November 30, 2012 @11:03AM (#4853770)
The license is LGPLv3.
Re:GNU Guile 2.0.7 released by Arelius on Friday November 30, 2012 @11:36AM (#4853935)
Last I checked, this prevents distribution in an App store (correct me if I'm wrong) but there is nothing preventing you from using it on say OS X
Re:GNU Guile 2.0.7 released by postfuturist on Friday November 30, 2012 @12:58PM (#4854432)
There's nothing in the LGPLv3 that prevents you from charging money, or distributing through app stores, so long as you comply with the requirements of the license.
Re:GNU Guile 2.0.7 released by baldfat on Friday November 30, 2012 @02:18PM (#4854932)
The issue is App Stores with DRM do conflict with the license. Though I think LGPL could be appeased by posting the code on a public website, but that might actually be a conflict :)

Apple certainly has a strong policy against GPL and LGPL on their store since it the store can not be compatible.

Re:GNU Guile 2.0.7 released by musashibaka on Friday November 30, 2012 @08:31AM (#4853106)
I wonder why Guile isn't on Github's list of programming languages...
Re:GNU Guile 2.0.7 released by ConstantineXVI on Friday November 30, 2012 @08:41AM (#4853149)
Re:GNU Guile 2.0.7 released by josteink on Friday November 30, 2012 @09:55AM (#4853451)
Maybe because Guile is not a programming language, but a Scheme implementation.

http://en.wikipedia.org/wiki/Category:Scheme_implementations