Don't compile it, use the EDN reader instead.

You can't do functions and that sort of thing, but the data structures
will work.

Phil

Olek <aleksander.nas...@gmail.com> writes:

> Hi!
>
> Today I fall into:
>
>  java.lang.RuntimeException: java.lang.ClassFormatError: Invalid method 
> Code length 88118 in class file xxx$eval304 (xxx.clj:274) (xxx.clj:3)
>
> problem.
>
> The reason is that I tried to use data as code and just execute the slurped 
> AST in order to produce another form of code (I'm converting the code from 
> one language to another).
> Is there any way to switch Clojure to interpreted mode instead of compiling 
> the data structure form? The structure what causes the headache are arrays 
> initializers.
> I would like to keep the code simple since the language should solve the 
> problem for me, not me for the case of stupid 64kb method limit.
>
> Thanks in advance,
> Olek

-- 
Phillip Lord,                           Phone: +44 (0) 191 208 7827
Lecturer in Bioinformatics,             Email: phillip.l...@newcastle.ac.uk
School of Computing Science,            
http://homepages.cs.ncl.ac.uk/phillip.lord
Room 914 Claremont Tower,               skype: russet_apples
Newcastle University,                   twitter: phillord
NE1 7RU                                 

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to