Re: [racket] syntax-temporaries srfi-53

2013-09-26 Thread Niitsuma Hirotaka
Also I found (define-macro (syntax-gensym k) (let ((var (gensym))) `(syntax-return ,k ,var) )) can generate unique variable. Usage (define-syntax-computation testing (computation-rules ( ) (( _ v ) (syntax-do (var <- (syntax-gensym)) (syntax-return va

Re: [racket] xslt in current racket version

2013-09-26 Thread Jay McCarthy
There was a Planet package once that had the xslt from Lizorkin's package. I believe that when John Clements cleaned it up, he didn't do that part, so the current 'sxml' package doesn't include it either. Jay On Thu, Sep 26, 2013 at 2:10 PM, Sanjeev K Sharma wrote: > how are folks doing this? >

Re: [racket] make-evaluator and (old style) planet packages

2013-09-26 Thread Spencer florence
Unfortunately the language I am using does not provide a #%top-interaction, so REPL like interactions won't work. All it provides is #%module-begin. What I really want is to evaluate: #lang planet dyoo/bf SOME-PROGRAM where SOME-PROGRAM is determined at runtime. I'm guessing sandboxed evaluators

Re: [racket] make-evaluator and (old style) planet packages

2013-09-26 Thread Eli Barzilay
40 minutes ago, Spencer florence wrote: > How can I use make-evaluator with a planet package as a language? > > If I were to do (make-evaluator '(planet dyoo/bf:1:8/language)) > > I get the error "#%require: not at top-level or in module body in: > (#%require (planet dyoo/bf:1:8/language))" You

[racket] make-evaluator and (old style) planet packages

2013-09-26 Thread Spencer florence
How can I use make-evaluator with a planet package as a language? If I were to do (make-evaluator '(planet dyoo/bf:1:8/language)) I get the error "#%require: not at top-level or in module body in: (#%require (planet dyoo/bf:1:8/language))" Thoughts? --Spencer Florence Rac

[racket] xslt in current racket version

2013-09-26 Thread Sanjeev K Sharma
how are folks doing this? I just realized the stx-engine component is gone from Mr. Lizorkin's sxml package. Was the functionality tucked away somewhere obvious? (to everyone but me & my weak google-fu) Racket Users list: http://lists.racket-lang.org/users

Re: [racket] DrRacket right-click menu fragility in Linux - back again

2013-09-26 Thread Kieron Hardy
I'm experiencing this issue also, although only occasionally, on a laptop with a trackpad and Gentoo. Since a trackpad allows one to press the buttons without any movement of the mouse cursor, I have experimented a little: When the context menu (opened with a right-click) is immediately closed aft

Re: [racket] RacketCon / hackathon question

2013-09-26 Thread Asumu Takikawa
On 2013-09-23 20:15:20 -0400, Geoffrey S. Knauth wrote: > He just started in June; he aced Gregor Kiczales' MOOC. What opineth > the hackathon masters? [had been meaning to reply to this, but other stuff got queued up] One thing that we strongly encourage at the Hackathon is that people program

Re: [racket] Introduction to syntax-parse

2013-09-26 Thread Carl Eastlund
On Wed, Sep 25, 2013 at 7:59 AM, Sam Tobin-Hochstadt wrote: > On Wed, Sep 25, 2013 at 2:14 AM, Konrad Hinsen > wrote: > > > > > Maybe making the error message more specific like "Did you forget to > (require > > > (for-syntax syntax/parse)) ?" ? Or is it too specific? > > > > It would already h

Re: [racket] Introduction to syntax-parse

2013-09-26 Thread Matthias Felleisen
On Sep 25, 2013, at 7:59 AM, Sam Tobin-Hochstadt wrote: > I think the error message could be better Yes. Please. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] syntax-temporaries srfi-53

2013-09-26 Thread Asumu Takikawa
On 2013-09-26 12:54:45 +0900, Niitsuma Hirotaka wrote: > How to use unique name variable within srfi-53 ? I'm not sure why that PLaneT package has that behavior, but if you just want to generate new identifiers, you can use the built-in `generate-temporaries` function: Welcome to Racket v5.90.0

Re: [racket] DrRacket right-click menu fragility in Linux - back again

2013-09-26 Thread Laurent
This problem was never really gone for me actually. It has become less of a problem, but I still sometimes need to click a few times to get the right menu. Also, the 'definitions' drop-down list can disappear after clicking it and moving the mouse pointer through it. So it may be more general than

[racket] DrRacket right-click menu fragility in Linux - back again

2013-09-26 Thread bhrgunatha
I'm having a problem with pop-up menus disappearing immediately from the editor in DrRacket under linux. This is the same as the original problem reported in Nov 2011 [1] - is this a regression problem? Or is it triggered by something new? I remember suffering from this in the past, but it was

Re: [racket] How write regexp for lexer

2013-09-26 Thread Бомбин Валентин
Thanks. 26.09.2013, 06:39, "Evgeny Odegov" : >>  I want to different two kind types of comment - first - is comment which >>  begin from start line (first symbol of line is '/' or whitespaces and '/' >>  ), second - is comment which start with '/' but beffore was reading any >>  other symbol (exc