Re: [racket] Testing macro helpers

2013-04-06 Thread Eric Dobson
The issue with that is that it runs the code (compute) at phase1, when I need to run that code at phase 0, otherwise compiling the module runs the tests. I'm willing to muck with eval and namespaces, so I believe what I want should be possible if difficult. On Sat, Apr 6, 2013 at 11:34 PM, Ryan C

Re: [racket] Testing macro helpers

2013-04-06 Thread Ryan Culpepper
On 04/07/2013 01:24 AM, Eric Dobson wrote: I am trying to test a helper to a macro. It generates a syntax object with bindings at phase-1, this is then returned by the macro and it correctly evaluates. Is there a way to not go through the macro, but still evaluate the syntax-object with those bin

[racket] Testing macro helpers

2013-04-06 Thread Eric Dobson
I am trying to test a helper to a macro. It generates a syntax object with bindings at phase-1, this is then returned by the macro and it correctly evaluates. Is there a way to not go through the macro, but still evaluate the syntax-object with those bindings it has at phase-1 relative to the helpe

Re: [racket] Developing DrRacket Extensions in the same process

2013-04-06 Thread Robby Findler
On second thought, I think that you'd probably want to reload a file that implements a tool and have that swap out the mixin, so I've added the capability to do that with a commit just now. hth, Robby On Fri, Apr 5, 2013 at 10:45 PM, Robby Findler wrote: > Okay, I've made a first attempt at this

Re: [racket] Cannot log in to the racket bug tracker

2013-04-06 Thread Eli Barzilay
20 minutes ago, Eric Hanchrow wrote: > I recently submitted a bug report, and got the usual email from the > bug tracker, with a link to the new report.  When I clicked the > link, I saw a page that said What was the exact link? I just tried going to http://bugs.racket-lang.org/query/?database

[racket] Cannot log in to the racket bug tracker

2013-04-06 Thread Eric Hanchrow
I recently submitted a bug report, and got the usual email from the bug tracker, with a link to the new report. When I clicked the link, I saw a page that said default User: offby1 Access: listdb *Racket Bugs*LoginYou do not have access to da

Re: [racket] Using "system" from within a servlet?

2013-04-06 Thread Matt Jadud
Hi Jay, I figured out my issue. The command I was invoking externally created a file. Although I was operating on a file in /tmp (and therefore expected the external tool to create its output there), all of the outputs of the process executed through "system" were created in "htdocs." So, I was

Re: [racket] Misleading label when registering with pkg.racket-lang.org

2013-04-06 Thread Jay McCarthy
K, I just changed it On Sat, Apr 6, 2013 at 3:03 PM, Robby Findler wrote: > I just tried clicking thru this too and I think just putting "Package Name" > near the top where it says "Name" is a suitable fix. > > Robby > > > On Sat, Apr 6, 2013 at 3:54 PM, Jay McCarthy wrote: >> >> After having cl

Re: [racket] Misleading label when registering with pkg.racket-lang.org

2013-04-06 Thread Robby Findler
I just tried clicking thru this too and I think just putting "Package Name" near the top where it says "Name" is a suitable fix. Robby On Sat, Apr 6, 2013 at 3:54 PM, Jay McCarthy wrote: > After having clicked on a link that says "Contribute a Package", I > don't think it is unreasonable to th

Re: [racket] Using "system" from within a servlet?

2013-04-06 Thread Jay McCarthy
There's nothing that a servlet would make interesting about it. I tend to prefer system* because you get more control about the arguments without having to worry about spaces and shell parsing. On Sat, Apr 6, 2013 at 2:26 PM, Matt Jadud wrote: > Hi all, > > Is there anything special I need to do

Re: [racket] Misleading label when registering with pkg.racket-lang.org

2013-04-06 Thread Jay McCarthy
After having clicked on a link that says "Contribute a Package", I don't think it is unreasonable to think that a user would know they had to give the information about the package, including fundamental information like its name. If you still disagree, I think it would be easy to submit a patch:

[racket] Using "system" from within a servlet?

2013-04-06 Thread Matt Jadud
Hi all, Is there anything special I need to do if I want to call out to a system process from within a servlet? Use system* vs system, etc.? Many thanks, Matt Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Adding a raco command not working for me

2013-04-06 Thread Matthew Flatt
At Sat, 6 Apr 2013 11:19:43 -0400, Greg Hendershott wrote: > So on http://docs.racket-lang.org/planet2/Developing_Packages.html > should it switch the steps around? Folks should not run `raco pkg > install --link demo` until _after_ they create an info.rkt in demo? Good point! Technically, for the

Re: [racket] Adding a raco command not working for me

2013-04-06 Thread Greg Hendershott
Thank you. So on http://docs.racket-lang.org/planet2/Developing_Packages.html should it switch the steps around? Folks should not run `raco pkg install --link demo` until _after_ they create an info.rkt in demo? Because when I try to run `raco pkg install --link` now, it does nothing, telling me:

Re: [racket] Adding a raco command not working for me

2013-04-06 Thread Matthew Flatt
At Sat, 6 Apr 2013 10:21:53 -0400, Greg Hendershott wrote: > I'm trying to add a raco command, following > http://docs.racket-lang.org/raco/command.html > > My info.rkt is simply this: > > #lang setup/infotab > (define deps (list "markdown" "rackjure")) > (define raco-commands '(("fro

[racket] Adding a raco command not working for me

2013-04-06 Thread Greg Hendershott
I'm trying to add a raco command, following http://docs.racket-lang.org/raco/command.html My info.rkt is simply this: #lang setup/infotab (define deps (list "markdown" "rackjure")) (define raco-commands '(("frog" frog "run Frog" #f))) I'm trying to do this for a collection installed