Hello, You can use var as references.
example: (def A 1) (def B (var A)) (def A 12) @B give you 12 if A is a function (@B) and (B) execute A's function. 2013/3/24 Oskar Kvist <oskar.kv...@gmail.com> > George Oliver: I actually tried penumbra (the graphics lib he uses in the > tetris video) and was able to code while running the program. But penumbra > is missing some features I would like. > > *Adrian*: Are you sure? I think Minecraft uses LWJGL, which is just a > library of OpenGL bindings plus some stuff for input and sound, not an > engine. And he is coding in Java, not a scripting language. > > Wujek Srujek: I will take a look at JRebel. Thanks! > > As several people has mentioned, doing it with a regular REPL is possible > with a little bit of care, but as Notch did it with Java instead of Clojure > I was curious as to how he did it. > > > On Saturday, March 23, 2013 10:48:19 PM UTC+1, Adrian wrote: > >> What you're seeing is a feature of game >> Engines that have a scripting engine. With this type of architecture you >> can separate the game content from the game engine itself. This allows you >> to change the game without recompiling the entire engine unnecessarily. >> >> >> On Mar 23, 2013, at 5:06 PM, Oskar Kvist <oskar...@gmail.com> wrote: >> >> John: I don't really understand why you say it's a waste of time. >> Speeding up the feedback cycle seems great to me. >> >> Thanks to everyone who has contributed to this thread so far! >> >> On Saturday, March 23, 2013 7:48:28 PM UTC+1, John Smith wrote: >>> >>> Yes, but are you saving time with this? What types of games do you want >>> to make? >>> RTS? FPS? RPG? What's the platform that you're targeting? No >>> offense, but I've >>> seen a lot of people like this (me including :) ), who want to learn >>> technology X for... >>> wait for it... to make games or something else that's fun. >>> >>> Look, I'm not trying to be mean, but unless you have a specific goal in >>> mind, then >>> this new feature is a waste of time :) . >>> >>> On Sat, Mar 23, 2013 at 12:20 PM, Oskar Kvist <oskar...@gmail.com>wrote: >>> >>>> It's not about looking cool, it's about saving time. >>>> >>>> Den lördagen den 23:e mars 2013 kl. 16:03:19 UTC+1 skrev John Smith: >>>>> >>>>> If you want to make a game, then make a game. Don't worry about >>>>> looking >>>>> "cool" about it. You don't need to have some feature to make something >>>>> entertaining :) . >>>>> >>>>> I'm making a game with a tool called GameMaker. Not as full-featured >>>>> or >>>>> powerful as with a programming language? Sure, but then I want to >>>>> first >>>>> have a game under my belt, then I'll worry about looking cool in the >>>>> process >>>>> :) . >>>>> >>>>> On Sat, Mar 23, 2013 at 10:22 AM, Oskar Kvist <oskar...@gmail.com>wrote: >>>>> >>>>>> Hi! >>>>>> >>>>>> I saw this video >>>>>> http://www.youtube.com/**w**atch?v=BES9EKK4Aw4<http://www.youtube.com/watch?v=BES9EKK4Aw4>of >>>>>> Notch coding on Minecraft while the game was running, and of course >>>>>> seeing the changes in the running program. He used some kind of debug >>>>>> mode >>>>>> in his IDE (I don't really know which IDE). I want to make a game, and I >>>>>> want to to also be able to code while the program is running. I know this >>>>>> sort of thing is common in Lisps, so even without that IDE's debug mode >>>>>> it >>>>>> should be possible. Is there anything in particular that I need to do or >>>>>> look out for in order to make it work? Are there some JVM settings I >>>>>> should >>>>>> use? Does anyone know how that debug mode works? I kind of understand how >>>>>> it can be done with a plain repl, but I don't wanna miss out on anything >>>>>> that would make it easier. Any kind of insight is very appreciated. >>>>>> >>>>>> -- >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Clojure" group. >>>>>> To post to this group, send email to clo...@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+u...@**googlegroups.com >>>>>> >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/**group**/clojure?hl=en<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+u...@**googlegroups.com. >>>>>> >>>>>> For more options, visit >>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out> >>>>>> . >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Clojure" group. >>>> To post to this group, send email to clo...@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+u...@googlegroups.com >>>> For more options, visit this group at >>>> http://groups.google.com/**group/clojure?hl=en<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+u...@googlegroups.com. >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>>> >>>> >>> >>> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@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+u...@**googlegroups.com >> For more options, visit this group at >> http://groups.google.com/**group/clojure?hl=en<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+u...@**googlegroups.com. >> For more options, visit >> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >> . >> >> >> >> -- > -- > 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/groups/opt_out. > > > -- -- 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/groups/opt_out.