[racket] "raco pkg update" doesn't work

2014-06-13 Thread Roman Klochkov
I try $ /usr/racket/bin/raco pkg update binary-class Resolving "binary-class" via http://download.racket-lang.org/releases/6.0.1/catalog/ Resolving "binary-class" via http://pkgs.racket-lang.org No updates available $ /usr/racket/bin/raco pkg show -a | grep binary-class\)  binary-class*       1d

Re: [racket] "raco pkg update" doesn't work

2014-06-13 Thread Roman Klochkov
Now updated... I didn't do anything. Is there a timeout for updating checksum in Racket? Fri, 13 Jun 2014 11:32:59 +0400 от Roman Klochkov : >I try >$ /usr/racket/bin/raco pkg update binary-class >Resolving "binary-class" via >http://download.racket-lang.org/releases/6.0.1/catalog/ >Resolving "

Re: [racket] You're invited to Neil Toronto's Dissertation Defense

2014-06-13 Thread Konrad Hinsen
Neil Toronto writes: > Here's the edit: > > https://www.youtube.com/watch?v=bKKkj-M34So Good job. Having watched this, I now feel qualified to congratulate! Konrad. Racket Users list: http://lists.racket-lang.org/users

Re: [racket] "raco pkg update" doesn't work

2014-06-13 Thread Jay McCarthy
When you install via the package catalog, i.e. with the name "binary-class" rather than with a github URL directly, then you use whatever the catalog has as the checksum, which is updated roughly every hour. (You can go to the site and request an update for your packages with the "Update" button)

Re: [racket] You're invited to Neil Toronto's Dissertation Defense

2014-06-13 Thread Laurent
That was a cool defense! Lots of good work in there for sure, congratulations! On Fri, Jun 13, 2014 at 1:36 PM, Konrad Hinsen wrote: > Neil Toronto writes: > > > Here's the edit: > > > > https://www.youtube.com/watch?v=bKKkj-M34So > > Good job. Having watched this, I now feel qualified

[racket] How to implement declations in an internal definition context?

2014-06-13 Thread Jens Axel Søgaard
Hi All, In order to add linear equation syntax to MetaPict I need to understand how implement declarations in an internal definition context. For practice purposes I have written the following small program. So far global declarations and local declaration via a let-var binding construct works. I

[racket] racket install on NetBSD provider?

2014-06-13 Thread Lawrence Bottorff
I just joined a shell provider (sdf.org) that's running 64bit-NetBSD. I want to install Racket to my local directory. Do I need just the raw source? LB Racket Users list: http://lists.racket-lang.org/users

[racket] pass pattern vars as syntax-class args before they appear in syntax-parse pattern

2014-06-13 Thread Stephen Chang
I want to do something like this: #lang racket (require syntax/parse) (define-syntax-class (myclass . args) (pattern x:id)) (syntax-parse #'(a (b c)) [((~var x (myclass #'(y ...))) ... (y z) ...) #'(x ...)]) But this doesnt work because I'm trying to pass y before it is bound. Is the

Re: [racket] pass pattern vars as syntax-class args before they appear in syntax-parse pattern

2014-06-13 Thread J. Ian Johnson
I use ~and patterns to first match structure and then match syntax classes to do what you're doing. -Ian - Original Message - From: Stephen Chang To: Racket Users Sent: Fri, 13 Jun 2014 15:03:44 -0400 (EDT) Subject: [racket] pass pattern vars as syntax-class args before they appear in s

[racket] Racket for Lego Mindstorms EV3

2014-06-13 Thread Alexsandro Soares
Hi all, I intend to teach programming and robotics for my ten years old daughter. I want to use the Lego Mindstorms EV3 that contains an ARM9 processor. Is there any version of Racket generating code to EV3? Or maybe another Lisp or Scheme dialect? Thanks in advance for any answer. Cheers

Re: [racket] racket install on NetBSD provider?

2014-06-13 Thread Juan Francisco Cantero Hurtado
On 06/13/14 17:35, Lawrence Bottorff wrote: I just joined a shell provider (sdf.org) that's running 64bit-NetBSD. I want to install Racket to my local directory. Do I need just the raw source? Yes, but probably your shell account has too small limits to install racket.

Re: [racket] racket install on NetBSD provider?

2014-06-13 Thread Neil Van Dyke
Looks like their entry-level account ("http://sdf.org/?join";) has a 200MB disk quota, which probably is not enough for a full Racket install (my Racket 6.0 GNU/Linux install takes 525MB). But their VPS accounts ("http://sdf1.org/index.cgi?vps";) could handle that disk space. Or, maybe stripp

[racket] Convert ASTs to Control Flow Graphic

2014-06-13 Thread Mansour Alqattan
Is it possible to convert any ASTs to control flow graphic (CFG) or (DFG) automaticlly ? If yes how? Is there any software does that Thanks Racket Users list: http://lists.racket-lang.org/users

Re: [racket] pass pattern vars as syntax-class args before they appear in syntax-parse pattern

2014-06-13 Thread Stephen Chang
Thanks. That works, but it leaks the syntax class abstraction a little bit. I figured out I can also get the behavior I want with ~peek On Fri, Jun 13, 2014 at 3:27 PM, J. Ian Johnson wrote: > I use ~and patterns to first match structure and then match syntax classes to > do what you're doing.

Re: [racket] Convert ASTs to Control Flow Graphic

2014-06-13 Thread J. Ian Johnson
It depends on how precise you want the graph. I can give you a complete graph given an AST and have it be a sound abstraction, but it won't be useful. Otherwise what you're asking for is something like 0CFA. I have to reiterate that you need a semantics for your ASTs to really make sense. For th