glojure icon indicating copy to clipboard operation
glojure copied to clipboard

Know about ferret?

Open l3nz opened this issue 8 years ago • 5 comments

First of all I would like to say that I have been looking for a Clojure to Go compiler for a while. The closes thing I found was Ferret, and I have been thinking of adding a "backend" for Golang.

You may want to have a look at this: http://ferret-lang.org/#outline-container-sec-6 Ferret has an interesting test suite that could be used to get started with Golang. Or, maybe, why not merging the two projects?

l3nz avatar Apr 09 '17 13:04 l3nz

I was vaguely aware of Ferret at some point in time. The test suite does look pretty handy, indeed, although the stuff that would be more helpful at this point in time is probably a test suite that's actually written in Go for running tests on the basic data structures since the lexer etc are still in a fairly young state.

venantius avatar Apr 10 '17 19:04 venantius

I think that the thing that is needed most is - how does one get started? :)

l3nz avatar Apr 11 '17 12:04 l3nz

With Ferret or Glojure?

venantius avatar Apr 14 '17 00:04 venantius

Glojure, obviously :)

l3nz avatar Apr 16 '17 18:04 l3nz

It's a good question. Near-term, we really want to get a functional test suite in place -- I had hoped that Clojure would have a decent Java test suite for the lower level parts of the compiler but it apparently doesn't -- everything is written in clojure.test at this point, which means we're sort of flying blind until the compiler starts actually working.

venantius avatar Apr 17 '17 23:04 venantius