It works now, and the result is as expected.

In the browser I still get the extra characters however.

On Tue, Oct 18, 2011 at 5:04 PM, David Nolen <dnolen.li...@gmail.com> wrote:

> Have you rerun the bootstrap script since the Rhino upgrade?
>
>
> On Tue, Oct 18, 2011 at 10:33 AM, Jonathan Fischer Friberg <
> odysso...@gmail.com> wrote:
>
>> I can't run that repl, I get
>>
>> Exception in thread "main" java.lang.RuntimeException:
>> java.lang.ClassNotFoundException: org.mozilla.javascript.Context
>>     at clojure.lang.Util.runtimeException(Util.java:165)
>>     at clojure.lang.Compiler.eval(Compiler.java:6435)
>>     at clojure.lang.Compiler.eval(Compiler.java:6414)
>>     at clojure.lang.Compiler.load(Compiler.java:6861)
>>     at clojure.lang.RT.loadResourceScript(RT.java:357)
>>     at clojure.lang.RT.loadResourceScript(RT.java:348)
>>     at clojure.lang.RT.load(RT.java:427)
>>     at clojure.lang.RT.load(RT.java:398)
>>     at clojure.core$load$fn__4610.invoke(core.clj:5386)
>>     at clojure.core$load.doInvoke(core.clj:5385)
>>     at clojure.lang.RestFn.invoke(RestFn.java:408)
>>     at clojure.core$load_one.invoke(core.clj:5200)
>>     at clojure.core$load_lib.doInvoke(core.clj:5237)
>>     at clojure.lang.RestFn.applyTo(RestFn.java:142)
>>     at clojure.core$apply.invoke(core.clj:602)
>>     at clojure.core$load_libs.doInvoke(core.clj:5271)
>>     at clojure.lang.RestFn.applyTo(RestFn.java:137)
>>     at clojure.core$apply.invoke(core.clj:602)
>>     at clojure.core$require.doInvoke(core.clj:5352)
>>     at clojure.lang.RestFn.invoke(RestFn.java:408)
>>     at user$eval1715.invoke(NO_SOURCE_FILE:2)
>>     at clojure.lang.Compiler.eval(Compiler.java:6424)
>>     at clojure.lang.Compiler.eval(Compiler.java:6390)
>>     at clojure.core$eval.invoke(core.clj:2795)
>>     at clojure.main$eval_opt.invoke(main.clj:296)
>>     at clojure.main$initialize.invoke(main.clj:315)
>>     at clojure.main$null_opt.invoke(main.clj:348)
>>     at clojure.main$main.doInvoke(main.clj:426)
>>     at clojure.lang.RestFn.invoke(RestFn.java:421)
>>     at clojure.lang.Var.invoke(Var.java:405)
>>     at clojure.lang.AFn.applyToHelper(AFn.java:163)
>>     at clojure.lang.Var.applyTo(Var.java:518)
>>     at clojure.main.main(main.java:37)
>> Caused by: java.lang.ClassNotFoundException:
>> org.mozilla.javascript.Context
>>     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
>>     at java.security.AccessController.doPrivileged(Native Method)
>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>>     at
>> clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:61)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>>     at java.lang.Class.forName0(Native Method)
>>     at java.lang.Class.forName(Class.java:186)
>>     at
>> cljs.repl.rhino$eval1719$loading__4505__auto____1720.invoke(rhino.clj:9)
>>     at cljs.repl.rhino$eval1719.invoke(rhino.clj:9)
>>     at clojure.lang.Compiler.eval(Compiler.java:6424)
>>     ... 31 more
>>
>>
>>
>> On Tue, Oct 18, 2011 at 4:25 PM, David Nolen <dnolen.li...@gmail.com>wrote:
>>
>>> Does the same problem occur when trying this at the REPL (say via
>>> script/repljs) ?
>>>
>>> David
>>>
>>>
>>> On Tue, Oct 18, 2011 at 7:22 AM, Jonathan Fischer Friberg <
>>> odysso...@gmail.com> wrote:
>>>
>>>> I'm on the master branch.
>>>>
>>>> I compiled the file using 'cljsc file > file.js', and run it in the
>>>> browser.
>>>>
>>>>
>>>> On Tue, Oct 18, 2011 at 1:16 AM, David Nolen <dnolen.li...@gmail.com>wrote:
>>>>
>>>>> Are you using ClojureScript HEAD? If you are and you are still seeing
>>>>> this under what conditions (advanced mode, browser REPL, etc.) ?
>>>>>
>>>>> David
>>>>>
>>>>> On Mon, Oct 17, 2011 at 6:41 PM, Jonathan Fischer Friberg <
>>>>> odysso...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> As I understand it, clojurescript uses some unicode characters to
>>>>>> identify keywords/symbols.
>>>>>> I guess that's why (str 'a) gives me ï·‘'a
>>>>>> I thought that this was intentional, and that (name 'a) would give me
>>>>>> "a", but I got the same result as with (str).
>>>>>>
>>>>>> So how do I extract the name from a symbol or keyword in
>>>>>> clojurescript?
>>>>>> Also, is this behavior intentional, and if so, why?
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>> Note that posts from new members are moderated - please be patient
>>>>>> with your first post.
>>>>>> 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
>>>>>
>>>>>
>>>>>  --
>>>>> 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
>>>>> Note that posts from new members are moderated - please be patient with
>>>>> your first post.
>>>>> 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
>>>>
>>>>
>>>>  --
>>>> 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
>>>> Note that posts from new members are moderated - please be patient with
>>>> your first post.
>>>> 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
>>>>
>>>
>>>  --
>>> 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
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> 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
>>>
>>
>>  --
>> 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
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> 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
>>
>
>  --
> 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
> Note that posts from new members are moderated - please be patient with
> your first post.
> 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
>

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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