Re: Compilation model

2012-02-24 Thread Softaddicts
al (well a very restricted runtime sexpr serialization feature). In this implementation, there's a clean split between these two contexts from what I know at this point. Luc P. > > > Hi all, > > I had a question about clojure's compilation model, which my co-worker >

Re: Compilation model

2012-02-23 Thread Meikel Brandmeyer (kotarak)
Hi, Clojure reads a file toplevel expression after toplevel expression and compiles and executes them separately (exception: toplevel "do" is split into its sub-expressions). The fact that things are stored in a file is just a coincidence. You can just as well type everything into the repl man

Re: Compilation model

2012-02-23 Thread Cedric Greevey
On Thu, Feb 23, 2012 at 8:23 PM, Andreas Kostler wrote: > Bump...I'm interested in this, too... > > On 21 February 2012 12:29, T.Y Chew wrote: >> >> Hi all, >> >> I had a question about clojure's compilation model, which my co-worker >> suggest

Re: Compilation model

2012-02-23 Thread Andreas Kostler
Bump...I'm interested in this, too... On 21 February 2012 12:29, T.Y Chew wrote: > > > Hi all, > > I had a question about clojure's compilation model, which my co-worker > suggest to redirect here :-) > > I wonder what clojure does during compilation o

Compilation model

2012-02-22 Thread T.Y Chew
Hi all, I had a question about clojure's compilation model, which my co-worker suggest to redirect here :-) I wonder what clojure does during compilation of a file? Can side-effects occur (definition of variables, functions, macros, etc in the compiler)? Does clojure have an EVAL