For the sake of simplicity. I've just define functions or macros which can
appear in the data structure and simply call eval on that structure. The
defined functions and macros has side effect which is println to the binded
output stream.
The example structure looks like this:
(Stm
On 27 August 2015 at 10:31, Olek wrote:
>
> 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
>
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 writes:
> Hi!
>
> Today I fall into:
>
> java.lang.RuntimeException: java.lang.ClassFormatError: Invalid method
> Code length 88118 in class file xxx$eva
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 cod