Re: [racket] selectively local-expand sub-expressions

2014-01-23 Thread Scott Klarenbach
Carl, Don't panic :). I'm not trying to reuse the expanded syntax at runtime. I'm just trying to parse it out for my own purposes in the context of a dsl that I fully control. I'm happy to strip all context and just have a list of symbols if need-be. My problem is much simpler, in that I wish

Re: [racket] selectively local-expand sub-expressions

2014-01-23 Thread Carl Eastlund
Scott, What you're doing isn't possible -- isn't even meaningful -- in general. You want to expand (MACRO-NAME (pred-a? z) (pred-b? z)) into (MACRO-NAME (equal? z "hey") (equal? z "there")) for some arbitrary MACRO-NAME you haven't listed. That's not at all safe! For instance, you did it with th

[racket] selectively local-expand sub-expressions

2014-01-23 Thread Scott Klarenbach
I'm trying use local-expand ( http://docs.racket-lang.org/reference/stxtrans.html?q=local-expand&q=local-expand#%28def._%28%28quote._~23~25kernel%29._local-expand%29%29 ) to partially expand sub-expressions. The only expressions I want to expand are known in advance, I'm just having trouble comi

Re: [racket] Swindle

2014-01-23 Thread Matthias Felleisen
On Jan 23, 2014, at 2:38 AM, Patrick Useldinger wrote: > 2) My (unqualified) first impression is that the OOP layer in Swindle is way > more powerful than the "standard" OOP layer in Racket. Is there a reason why > Swindle has not become the standard OOP layer in Racket? Racket, at the time PL

[racket] Swindle

2014-01-23 Thread Patrick Useldinger
Hello I was looking for a CLOS(-like) implementation in Scheme and found that there is one which is already included in Racket. Before investing some time into studying this, I have 2 questions: 1) Given that the Swindle docs lack some polish in comparison with the rest of the modules, are t