Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-18 Thread Martin DeMello
How well did it work? I've been playing with Chicken to write Maemo code, which seems to work pretty well, but I figured Racket would be pretty heavy for a mobile device. martin On Thu, Sep 16, 2010 at 10:40 PM, Stephen De Gabrielle wrote: > FWIW > I once used scratchbox to cross compile mzschem

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-18 Thread Stephen De Gabrielle
It worked ok, but I never used it to make apps. Ive not tried, but I suspect the real work is making a racket library/interface for the ui stuff. S On Saturday, September 18, 2010, Martin DeMello wrote: > How well did it work? I've been playing with Chicken to write Maemo > code, which seems to

Re: [racket] News flash! Racket once again a legal choice for developing iPhone apps!

2010-09-18 Thread Martin DeMello
Yep. I was very surprised to find no scheme that compiled to native code and had gtk bindings. Work is being done on the chicken-qt bindings, at the least, but for the time being I've fallen back on vala. martin On Sat, Sep 18, 2010 at 1:38 PM, Stephen De Gabrielle wrote: > It worked ok, but I n

Re: [racket] line numbers in drracket

2010-09-18 Thread Stephen De Gabrielle
I'm new this myself, but I've had some luck working stuff out by reading the Framework source. I briefly had a look after reading the elastic-tab-stops thing (Grant?). Changing it may be a necessity for this. S. On Friday, September 17, 2010, Jon Rafkind wrote: >  I took a stab at adding line nu

Re: [racket] outgoing https requests with client certificate with plt 4.2.5

2010-09-18 Thread Neil Van Dyke
FYI, for anyone who finds this thread with Google... PLT 4.2.5 "openssl" apparently *can* do outgoing client certificate authentication to *some* servers. I am currently seeing a problem talking to Apache, however. I might not be able to spend any more time on this, so if you find you're ha

[racket] internal definitions in r6rs

2010-09-18 Thread Jos Koot
Hi, Section 11.3 of R6RS states: "An expanded (see chapter 10) containing variable definitions can always be converted into an equivalent letrec* expression." The semantics of letrec* includes "each is assigned in left-to-right order". This I interpret as allowing an internal definition to refe

Re: [racket] line numbers in drracket

2010-09-18 Thread Robby Findler
You don't want to extend the definitions canvas, if you want to follow what Grant did. You want to make a new editor-canvas that is in parallel to it, next to it. Robby On Fri, Sep 17, 2010 at 4:39 PM, Jon Rafkind wrote: >  I took a stab at adding line numbers to DrRacket. I started with this co

[racket] P4P

2010-09-18 Thread Shriram Krishnamurthi
For those of you who might be interested, I've been continuing to work on the P4P syntax experiment. You can get it from github. The code: http://github.com/shriram/p4p/ The docs: http://shriram.github.com/p4p/ I'm slowly growing this towards the full student languages. Feature requests, etc

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Deren Dohoda
Hi Jos, (meant to reply to all... sorry) (letrec () exps ...) where is ( ) ... >From page 36 on letrec: "It must be possible to evaluate each without assigning or referring to the value of the corresponding or the of any bindings that follow it in ." In short: you can use the *name* but you

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Deren Dohoda
I see, please ignore my last response, as you were talking about letrec* and not letrec. Deren On Sat, Sep 18, 2010 at 3:33 PM, Deren Dohoda wrote: > Hi Jos, > > (meant to reply to all... sorry) > > (letrec () exps ...) > where is > ( ) ... > > From page 36 on letrec: > "It must be possible to

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Jos Koot
Thanks anyway for taking the trouble to answer. Jos > -Original Message- > From: Deren Dohoda [mailto:deren.doh...@gmail.com] > Sent: 18 September 2010 21:35 > To: Jos Koot > Cc: PLT-Scheme Mailing List > Subject: Re: [racket] internal definitions in r6rs > > I see, please ignore my las

[racket] Polymorphism via compile time dispatch

2010-09-18 Thread Eduardo Cavazos
Hello, Here's a little experiment in compile time dispatch implemented in Chez Scheme: http://gist.github.com/585469 The experiment is dependent upon a feature particular to Chez Scheme described in section 11.4. "Compile-time Values and Properties" in the user's guide: http://sche

Re: [racket] Polymorphism via compile time dispatch

2010-09-18 Thread Sam Tobin-Hochstadt
On Sat, Sep 18, 2010 at 4:35 PM, Eduardo Cavazos wrote: > > The experiment is dependent upon a feature particular to Chez Scheme > described in section 11.4. "Compile-time Values and Properties" in the > user's guide: > >     http://scheme.com/csug8/syntax.html#./syntax:h4 > > In particular, I'm u

Re: [racket] Polymorphism via compile time dispatch

2010-09-18 Thread Vincent St-Amour
Typed Racket can do compile-time dispatch: http://docs.racket-lang.org/ts-guide/optimization.html (the documentation is more complete in the nightly builds) We do compile-time dispatch using types. We're also looking into making it possible for users to define their own type-based optimizations.

[racket] Limits of init-auto-scrollbars in canvas%

2010-09-18 Thread Martin Dirichs
In the docs for canvas% http://docs.racket-lang.org/gui/canvas_.html the limits for function init-auto-scrollbars are given as horiz-pixels : (or/c (integer-in 1 10) false/c) vert-pixels : (or/c (integer-in 1 10) false/c) However, if tested with larger values than 1, the

Re: [racket] Polymorphism via compile time dispatch

2010-09-18 Thread Sam Tobin-Hochstadt
On Sat, Sep 18, 2010 at 4:57 PM, Vincent St-Amour wrote: > > http://docs.racket-lang.org/ts-guide/optimization.html > (the documentation is more complete in the nightly builds) Available here: http://pre.racket-lang.org/docs/html/ts-guide/optimization.html -- sam th sa...@ccs.neu.edu _

Re: [racket] Limits of init-auto-scrollbars in canvas%

2010-09-18 Thread Jos Koot
A dump question, may be, and off topic too perhaps, but where are you going to store 10x10=10^18=1000 tera pixels? Jos? > -Original Message- > From: users-boun...@racket-lang.org > [mailto:users-boun...@racket-lang.org] On Behalf Of Martin Dirichs > Sent: 18 September 2010

Re: [racket] line numbers in drracket

2010-09-18 Thread Jon Rafkind
Ok I tried that route as well. I used extend-unit-frame but I can't get a hold of the definitions window. I can add a bar to the frame but then its on the side of the interactions panel as well, which I don't want. I tried getting a hold of the `resizable-pane' that the definitions window and

Re: [racket] line numbers in drracket

2010-09-18 Thread Robby Findler
Oh right. There isn't, because of the screen splitting stuff. I think you probably are better off adding this directly to drracket. You probably want collects/drracket/private/unit.rkt. Possibly packaging this up as a generic thing in the framework first. Robby On Saturday, September 18, 2010, Jo

[racket] Racket ==> Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
Hey, How are you all? I hope everybody is doing great. Well, I have been recently working on a Racket ==> Java Converter, which I was inspired by both Racket's Universe.ss (AWESOMEST! FEATURE ON ANY LANG) and also the Teach Racket Reach Java Workshops. In the end, it should be able to compile

Re: [racket] Racket ==> Java Conversion Utility [very very early stages]

2010-09-18 Thread Neil Van Dyke
Your GUI is very pretty. I am most interested in hearing how the conversion from Racket to Java might work. Also, are you doing this for curiosity and educational value? That would be perfectly fine. I am wondering whether there are also practical goals of a Racket->Java converter that are i

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Deren Dohoda
Actually, after reading more, letrec* also demands (again page 36, top of second column): "It must be possible to evaluate each without assigning or referring to the value of the corresponding or the of any of the bindings that follow it in ." letrec* is not like let* at all, really, which kin

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Deren Dohoda
And yet again I am an idiot, as you did not refer to the value of a binding that *follows* it. Instead you are referring to a value that precedes it, which should be allowed. Thankfully that does restore my mental model of the starred lets, though, so apart from several embarrassing emails on this

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Robby Findler
It has been a while but I believe the r6 formal model covers this point. Robby On Saturday, September 18, 2010, Jos Koot wrote: > > > > > > Hi, > > Section 11.3 > of R6RS states: "An expanded (see chapter 10) containing variable > definitions can always be converted into an equivalent letrec* e

[racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
I am still going through lists of racket and java code to find similarities...I have seen many similarities and started to implement these similarities. but i was asking in terms of how the looks. I find it a lot easier to work from the GUI backwards. I am doing this for curiosity and educational

[racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
I am still going through lists of racket and java code to find similarities...I have seen many similarities and started to implement these similarities. but i was asking in terms of how the looks. I find it a lot easier to work from the GUI backwards. I am doing this for curiosity and educational

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Jos Koot
Thanks. I do not often use rnrs, for I prefer racket. But sometimes people ask me r6rs or even r5rs code. I have decided to send them racket code and let them make the required mods themselvesw. Thanks, Jos > -Original Message- > From: robby.find...@gmail.com > [mailto:robby.find...@gma

[racket] "Hybrid" Racket on Cygwin

2010-09-18 Thread Thomas Chust
Hello, I'm interested in building Racket for Cygwin but with Win32-GDI-based GUI libraries instead of X11-based GUI libraries. The configure script doesn't seem to allow for this setup, but since Racket already has support for Win32 GUIs and since nothing prevents a Cygwin program from calling dir

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Neil Van Dyke
Mathew Kurian wrote at 09/18/2010 07:24 PM: > I am still going through lists of racket and java code to find similarities...I have seen many similarities and started to implement these similarities. As you convert more Racket to Java, I bet you'll find that it's a hard problem, and that you'l

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Shriram Krishnamurthi
> I would love to see a tool that lets me write Android apps using Racket. >  Perhaps the tool would convert Racket source code to Android Java-ish > source code, or perhaps convert Racket source code to Android's JVM-ish > virtual machine code. An old version of Moby did just this (as I'm sure y

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Neil Van Dyke
Shriram Krishnamurthi wrote at 09/18/2010 08:16 PM: I would love to see a tool that lets me write Android apps using Racket. Perhaps the tool would convert Racket source code to Android Java-ish source code, or perhaps convert Racket source code to Android's JVM-ish virtual machine code.

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
BTW...i didnt know Moby already did this If I could see Moby's code, we could probably merge these together and I could add Netbeans features such as drawing out frames and etc. That would be so cool, so students could write their beginner programs in universe.ss, or any other feature and then con

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
And plus as a side note...maybe with a solid translator, racket could be merged directly with some of the top running languages, since its codes will be variable/dynamic. -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Shriram Krishnamurthi
> I meant more like any app I could write using the existing Android > Java language. Moby this year is a total rewrite. It implements the Racket VM in JavaScript (except, of course, it doesn't have all the gazillion primitive operations) -- and is getting control primitives, much of the module s

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Neil Van Dyke
Shriram Krishnamurthi wrote at 09/18/2010 09:08 PM: Moby this year is a total rewrite. It implements the Racket VM in JavaScript (except, of course, it doesn't have all the gazillion primitive operations) -- and is getting control primitives, much of the module system, etc. Cool. I tried

Re: [racket] Limits of init-auto-scrollbars in canvas%

2010-09-18 Thread Matthew Flatt
At Sat, 18 Sep 2010 20:56:54 + (UTC), Martin Dirichs wrote: > In the docs for canvas% > > http://docs.racket-lang.org/gui/canvas_.html > > the limits for function init-auto-scrollbars > are given as > > horiz-pixels : (or/c (integer-in 1 10) false/c) > vert-pixels : (or/c (intege

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Shriram Krishnamurthi
> Cool.  I tried the WeScheme demo thing the other day (if that's the > same thing), and I could see having practical use myself for this > technology in the near future. It's the "same thing" in that Moby is the compiler under WeScheme, but the current version on the Web is a few iterations behi

Re: [racket] internal definitions in r6rs

2010-09-18 Thread Matthew Flatt
This is a bug in the R6RS binding for `define'. Your program works as it should if you use (define a (lambda () (define (b) "who cares?") (define c (b)) c)) or (define (a) (let () (define (b) "who cares?") (define c (b)) c)) because the problem is specific

Re: [racket] "Hybrid" Racket on Cygwin

2010-09-18 Thread Eli Barzilay
On Sep 19, Thomas Chust wrote: > I'm interested in building Racket for Cygwin but with > Win32-GDI-based GUI libraries instead of X11-based GUI > libraries. The configure script doesn't seem to allow for this > setup, but since Racket already has support for Win32 GUIs and since > nothing prevents

Re: [racket] "Hybrid" Racket on Cygwin

2010-09-18 Thread Matthew Flatt
At Sat, 18 Sep 2010 21:55:40 -0400, Eli Barzilay wrote: > On Sep 19, Thomas Chust wrote: > > I'm interested in building Racket for Cygwin but with > > Win32-GDI-based GUI libraries instead of X11-based GUI > > libraries. The configure script doesn't seem to allow for this > > setup, but since Racke

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Mathew Kurian
Ohh i see...thank you Mr. Krishnamurthi. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

Re: [racket] Java Conversion Utility [very very early stages]

2010-09-18 Thread Neil Van Dyke
Shriram Krishnamurthi wrote at 09/18/2010 09:47 PM: Moby does interface with several Android services. You can write a problem that responds to shakes and GPS signals and what not. It's not just for computing factorials. This is neat as a playground for students, but -- at the risk of be

[racket] DrRacket performance

2010-09-18 Thread wooks .
I am running Racket on a Windows PC with an Ubuntu partition (10.4 or whatever the latest version is called). DrRacket tends to become unresponsive after it's been running for about an hour (I'm talking 15 minute response time). Worse it tends to make my whole system seize up. The problem se

Re: [racket] "Hybrid" Racket on Cygwin

2010-09-18 Thread Thomas Chust
2010/9/19 Eli Barzilay : > On Sep 19, Thomas Chust wrote: >> I'm interested in building Racket for Cygwin but with >> Win32-GDI-based GUI libraries instead of X11-based GUI >> libraries. >> [...] > That's likely to be very difficult, since the Windows stuff is very > different from the usual config

[racket] Racket VM

2010-09-18 Thread Mathew Kurian
Hey everybody, I am trying to figure out a way to compile Racket code through command prompt for instance. For java, you just put in javac filename.java, etc. Is there something like that I can implement for Racket? Thank you for your help guys. And remember to have a great day! Sincerely, M

Re: [racket] Racket VM

2010-09-18 Thread Mathew Kurian
That is a good idea good Deren. Ill read up on that a bit. Meanwhile a quick question, can it be called via command prompt? -- Mathew Kurian Seven Lakes High School *“Do all the good you can, b**y all the means you can,* *In all the ways you can, in all the places you can, At all the times you ca

Re: [racket] Racket VM

2010-09-18 Thread Neil Van Dyke
Mathew Kurian wrote at 09/19/2010 01:25 AM: For java, you just put in javac filename.java, etc. Is there something like that I can implement for Racket? If you want to compile Racket code from the OS command prompt, I think you want this manual: http://docs.racket-lang.org/raco/ Better y

Re: [racket] Racket VM

2010-09-18 Thread Mathew Kurian
Hahahaha...Neil, i agree with you, it will be my one of my best of friends [?] But, give me some time to read through...it may take a while before i have a question. Thanks again Deren and Neil...i really appreciate your help. Sincerely, Mathew Kurian -- Mathew Kurian Seven Lakes High School