One thing, there are several assertions in js-gen like the following:
(assert (= '("obj = {prop2:\"str-val\",prop1:3}")
   (run out-str
(js-assignment '(= obj {prop1 3, prop2 "str-val"}) out-str))))

This assertion statement might fail (and did for me) since maps are not
ordered.

On Tue, Apr 14, 2009 at 1:19 AM, David Nolen <dnolen.li...@gmail.com> wrote:

> 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 <jim.d...@gmail.com> 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.googlegroups.com/web/js_gen.clj
>>
>> The code for the generator is about 250 lines.  It depends on the mini-
>> kanren implementation I just uploaded.  The file also includes a bunch
>> of unit tests of the various functions.  At the bottom, there are some
>> examples of javascript functions being generated.
>>
>> Bug reports very much appreciated.
>>
>> Jim
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to