Re: Can Clojure be as readable as Python or Ruby ?

2012-03-12 Thread Andrzej
. A new language would likely come with its own macro framework. Andrzej -- 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

Re: Can Clojure be as readable as Python or Ruby ?

2012-03-10 Thread Andrzej
syntax). Is it worth implementing in an *existing* language? Nah..., maybe in some DSLs. Andrzej -- 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

Re: Clojure on PyPy

2011-11-21 Thread Andrzej
of s-expressions, which goes to evaluator... (1) here should come the macro expander but I haven't finished it yet. The code is on github: https://github.com/andrzej-r/PScheme Cheers, Andrzej -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Re: ANN: A simple scheme interpreter in clojure

2011-01-27 Thread Andrzej
On Tue, Jan 25, 2011 at 12:52 AM, Andrzej ndrwr...@googlemail.com wrote: On Mon, Jan 24, 2011 at 5:50 PM, dennis killme2...@gmail.com wrote: Hi, Yes,i have seen the rscheme. cscheme is just an exercise,it is not practical at all. So was rscheme. :-) In many respects your implementation

Re: ANN: A simple scheme interpreter in clojure

2011-01-24 Thread Andrzej
On Mon, Jan 24, 2011 at 5:50 PM, dennis killme2...@gmail.com wrote: Hi, Yes,i have seen the rscheme. cscheme is just an exercise,it is not practical at all. So was rscheme. :-) In many respects your implementation is more complete than mine. Cheers, Andrzej -- You received this message

Re: ANN: A simple scheme interpreter in clojure

2011-01-23 Thread Andrzej
. Cheers, Andrzej On Mon, Jan 24, 2011 at 11:45 AM, dennis killme2...@gmail.com wrote: I have implemented a simple interpreter in clojure,it is just transformed from the interpreter in SICP.Maybe someone interested in it. I have pushed it on github at https://github.com/killme2008/cscheme

Re: Enhanced primitive support - redux

2010-06-26 Thread Andrzej
to use other numbers. What I'd rather like to have is an array of N preallocated objects waiting to be assigned values and used. This way an allocation cycle could be triggered every N Integer constructor calls and all boxes used in a single procedure would be gathered in one place. Andrzej

Re: Enhanced primitive support - redux

2010-06-25 Thread Andrzej
preallocated Integers in a cache, - using both boxed and primitive math but keeping the boundary between them as explicit as possible (different operators, no automatic conversion etc.). Existing operators should default to boxed math (for runtime safety and compatibility). Andrzej -- You received

Re: Non-tail recursion (Clojure way to hierarchies)

2010-06-13 Thread Andrzej
http://groups.google.com/group/clojure/browse_frm/thread/6257cbc4454bcb85/7d5fd827cd549080#7d5fd827cd549080 Cheers, Andrzej -- 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

Re: A simple csv parsing library

2010-06-09 Thread Andrzej
really bothered learning about it. Thanks for your work, -Andrzej -- 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

Re: Complex type in clojure

2010-06-08 Thread Andrzej
expressions Maybe instead of hardwiring all these types, we should provide a mechanism for overloading math operators? I guess multimethods would be too slow and I have no experience with defrecord/... to predict robustness of this solution. -Andrzej -- You received this message because you

Re: Anyone experienced in using clojure as a database

2010-05-29 Thread Andrzej
do you think about it? Andrzej -- 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

Re: Anyone experienced in using clojure as a database

2010-05-27 Thread Andrzej
? Thanks, Andrzej -- 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

Re: concurrency and rand-int

2010-03-25 Thread Andrzej
, Andrzej On Fri, Mar 26, 2010 at 11:35 AM, Lee Spector lspec...@hampshire.edu wrote: I'm trying to track down the reason that I sometimes see a lot of concurrency in my system (up to 1200% CPU utilization on a dual quadcore mac that also has some kind of hyperthreading, allegedly allowing

[patch] Re: Sequential vs. divide and conquer algorithm

2010-03-22 Thread Andrzej
Elapsed time: 947.298315 msecs Elapsed time: 973.367556 msecs nil Cheers, Andrzej -- 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

Re: java vector canvas

2010-03-22 Thread Andrzej
independently respond to mouse clicks. http://www.piccolo2d.org/ -Andrzej -- 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

Re: Sequential vs. divide and conquer algorithm

2010-03-22 Thread Andrzej
submitted today? Are they functionally equivalent as far as the vector decomposition part is concerned? -Andrzej -- 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

Re: Sequential vs. divide and conquer algorithm

2010-03-21 Thread Andrzej
net performance gain, perhaps not. Andrzej -- 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

Re: Sequential vs. divide and conquer algorithm

2010-03-21 Thread Andrzej
computations but I'm still aiming at optimizing a general case). Andrzej -- 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

Re: General question: Petri nets and STM in clojure

2010-03-21 Thread Andrzej
nets can be applied for modeling systems based on STM (in Clojure's flavor). I've only seen them used in common lock-based designs (not that it means anything - I barely touched the surface). Andrzej -- You received this message because you are subscribed to the Google Groups Clojure group. To post

Sequential vs. divide and conquer algorithm

2010-03-19 Thread Andrzej
are more or less balanced? Or, how to query the underlying data structure whether, or where, such a convenient position exists? Andrzej -- 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

Re: Sequential vs. divide and conquer algorithm

2010-03-19 Thread Andrzej
, is there any theoretical reason the algorithm does less work?  Are you making a time/memory trade off? No, although balancing the operations could potentially help with some second order effects (e.g. numerical errors). Thanks, Andrzej -- You received this message because you are subscribed

Re: newbie question: Please help me stop creating constructors

2010-03-01 Thread Andrzej
be a minimal CAS framework in Clojure? -Andrzej -- 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