I've just uploaded a javascript generator ala Parenscript. It's
pretty half-baked, so be cautious using it until we get the bugs
ironed out.
http://clojure.googlegroups.com/web/js_gen.clj
The code for the generator is about 250 lines. It depends on the mini-
kanren implementat
Due to popular demand*, I resuscitated my code to generate javascript
from s-expressions. This was what I coded to learn about logic
programming in Clojure.
Github: http://github.com/jduey/js-gen
Clojars: http://clojars.org/net.intensivesystems/js-gen
*actually it was just one person, but I'm eas
Do you have any plans for continuing to support this? If so are you against
putting this on GitHub or Google Code so that people can follow it's
development?
Thanks for contributing it to the community.
On Wed, Feb 25, 2009 at 7:49 PM, jim wrote:
>
> I've just uploaded a java
ommunity.
>
> On Wed, Feb 25, 2009 at 7:49 PM, jim wrote:
>
>>
>> I've just uploaded a javascript generator ala Parenscript. It's
>> pretty half-baked, so be cautious using it until we get the bugs
>> ironed out.
>>
>> http://clojure.googleg
I'll be glad to support it if people choose to use it and report
issues. My plans to use are still on my todo list, things just keep
getting put on top of them. One of which is to get my own server set
up to host this and some other projects.
I'll check out those asserts and make them so they're
Cool! Rather then waiting, you could host it in the interim on GitHub or
Google Code so people like myself can submit patches (which I'm more than
willing to do) ;) Just a thought...
A couple of things:
(println
(javascript (var x)))
I would expect this to convert to:
var x;
It does not.
(pri
Cool! Rather then waiting, you could host it in the interim on GitHub or
Google Code so people like myself can submit patches (which I'm more than
willing to do) ;) Just a thought...
A couple of things:
(println
(javascript (var x)))
I would expect this to convert to:
var x;
It does not.
(pri
I got my static IP today. I'm setting up the web server now. I'll
setup the Git server ASAP.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups
Cool! Thanks.
Also sorry for the accidental double post and I had a typo, I meant the
weird result was:
(println
(javascript (new ClassGenerator {prop1 "a" prop2 "b"})))
> var MyClass = new(ClassGenerator, {prop1:"a",prop2:"b"});
Instead of-
var MyClass = new ClassGenerator({prop1:"a", prop2:"b
jim writes:
> Due to popular demand*, I resuscitated my code to generate javascript
> from s-expressions. This was what I coded to learn about logic
> programming in Clojure.
>
> Github: http://github.com/jduey/js-gen
> Clojars: http://clojars.org/net.intensivesystems/js-gen
>
> *actually it was
I've heard of scriptjure but never used it or looked at it. My
interests took me in another direction and I've never circled back. I
would be interested to know how the differ.
Thanks,
Jim
On Oct 11, 3:21 am, Steve Purcell wrote:
> jim writes:
> > Due to popular demand*, I resuscitated my code
Well, taking a brief look over your code, it seems like the main
difference is that scriptjure is macro-based, so all the code generation
gets done at compile-time.
That makes scriptjure faster, but at the expense of needing an unquote
form - "(clj ...)" - to splice clojure expressions into the ja
On Mon, Oct 11, 2010 at 10:02 AM, Steve Purcell wrote:
> Well, taking a brief look over your code, it seems like the main
> difference is that scriptjure is macro-based, so all the code generation
> gets done at compile-time.
>
js-gen generates js at compile time.
>
> That makes scriptjure fas
David Nolen writes:
> On Mon, Oct 11, 2010 at 10:02 AM, Steve Purcell
> wrote:
>
> Well, taking a brief look over your code, it seems like the main
> difference is that scriptjure is macro-based, so all the code
> generation
> gets done at compile-time.
>
>
> js-gen generate
Jim was working on logic programming in Clojure up to a few months
ago, and it seems as if the concern was that the code was too
derivative.
I have recently made available a Scala-based Kanren implementation;
the differences between Scala and Scheme means that the code is
sufficiently original. M
On Sun, Oct 25, 2009 at 12:16 AM, Michel Salim
wrote:
>
> Jim was working on logic programming in Clojure up to a few months
> ago, and it seems as if the concern was that the code was too
> derivative.
>
> I have recently made available a Scala-based Kanren implementation;
> the differences betw
On Sun, Oct 25, 2009 at 6:28 PM, Rich Hickey wrote:
>
> On Sun, Oct 25, 2009 at 12:16 AM, Michel Salim
> wrote:
>>
>> Jim was working on logic programming in Clojure up to a few months
>> ago, and it seems as if the concern was that the code was too
>> derivative.
>>
>> I have recently made avai
17 matches
Mail list logo