Hello, 2009/10/21 CuppoJava <patrickli_2...@hotmail.com>
> > Hi, > Clojure started my interest in programming languages, and I'm > wondering exactly how LISP-like languages get compiled ahead of time? > A link to a tutorial would be much appreciated. > > The part that I'm having trouble understanding is the fact that > functions can be defined at runtime. How do you compile a function > that's not defined until after you run the program? > AFAIC, functions cannot be defined at runtime. I mean, code can be generated at compile time by macros. With AOT compilation, everything possible has been compiled. If you want to add new code, you need to 'eval it, so you need to go through the compiler again. > > Thanks for your help > -Patrick > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---