Re: [racket-users] the Racket manifesto

2015-03-27 Thread Konrad Hinsen
Matthias Felleisen writes: A web site is an ad. As is a research paper. It's the audience that differs. I am sorry but you embrace modern CS departments too much, and there is push-back coming about. Don't bother me with papers that I can't reconstruct and accept after that

[racket-users] carmack s-expression tweet

2015-03-27 Thread Brian Craft
Was this a reference to a particular racket lib? And if so, which one? https://twitter.com/ID_AA_Carmack/status/577878167542734848 -- You received this message because you are subscribed to the Google Groups Racket Users group. To unsubscribe from this group and stop receiving emails from it,

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Neil Van Dyke
Brian Craft wrote on 03/27/2015 03:45 PM: Was this a reference to a particular racket lib? And if so, which one? https://twitter.com/ID_AA_Carmack/status/577878167542734848 The `read` and `write` procedures are one way to do this. (Though you want to disable some features when you do that.

[racket-users] Re: carmack s-expression tweet

2015-03-27 Thread John Carmack
On Friday, March 27, 2015 at 2:45:00 PM UTC-5, Brian Craft wrote: Was this a reference to a particular racket lib? And if so, which one? https://twitter.com/ID_AA_Carmack/status/577878167542734848 I have a long history of bit packing multiplayer network messages, but for this project I am

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Alexis King
It might be interesting to create a binary s-expression format for more efficient reading/writing, a la BSON’s relationship to JSON. Perhaps even with some sort of optional compression. Racket’s reader is fairly complicated, though, so it might need to restrict itself to a useful subset? On

[racket-users] Self contained executables

2015-03-27 Thread John Carmack
I want to be able to build simple (windows) utilities for other team members that don't have Racket installed. The archive-with-dlls option is better than nothing, but it would be a whole lot better to have a single statically linked exe. In this case, it is a 13 MB executable, and only 5 MB

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Sean Kanaley
Couldn't this binary s-expression just be a struct? '(move 3 5) becomes (struct move (x y) #:prefab) (move 3 5) client/server will likely have some kind of matching either way, and prefab structs can be matched (match command [(list 'move x y) ... becomes (match command [(move x y) ...

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Jay McCarthy
Look at my original response to John's post about this... The binary format you are thinking of is racket/fasl. Jay On Friday, March 27, 2015, Sean Kanaley skana...@gmail.com wrote: Couldn't this binary s-expression just be a struct? '(move 3 5) becomes (struct move (x y) #:prefab)

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Alexis King
Oh, very neat... racket/fasl was precisely the sort of thing I was thinking of. On Mar 27, 2015, at 17:26, Jay McCarthy jay.mccar...@gmail.com wrote: Look at my original response to John's post about this... The binary format you are thinking of is racket/fasl. Jay On Friday, March

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Neil Van Dyke
Just comenting only on Alexis's suggestion here, since sounds like John is happy with sexps for now. I don't see how `racket/fasl` is suitable for heterogeneous interop, which is a very common case needing this, perhaps the most common. Spec-wise, `racket/fasl` is not defined, beyond that it

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Alexis King
Hmm, yes, on closer inspection, I see that you’re right. It’s not worthless, but it’s definitely not ideal for actually using as a communication protocol. So I guess my original point still stands: having a consistent binary encoding for s-expressions could be nice. On Mar 27, 2015, at 18:10,

Re: [racket-users] Self contained executables

2015-03-27 Thread Matthew Flatt
At Fri, 27 Mar 2015 16:42:03 -0700 (PDT), John Carmack wrote: I want to be able to build simple (windows) utilities for other team members that don't have Racket installed. The archive-with-dlls option is better than nothing, but it would be a whole lot better to have a single statically

Re: [racket-users] the Racket manifesto

2015-03-27 Thread Konrad Hinsen
Matthias Felleisen writes: A web site is an ad. As is a research paper. It's the audience that differs. I am sorry but you embrace modern CS departments too much, and there is push-back coming about. Don't bother me with papers that I can't reconstruct and accept after that

Re: [racket-users] the Racket manifesto

2015-03-27 Thread Matthias Felleisen
On Mar 27, 2015, at 4:11 AM, Konrad Hinsen wrote: Matthias Felleisen writes: A web site is an ad. As is a research paper. It's the audience that differs. I am sorry but you embrace modern CS departments too much, and there is push-back coming about. Don't bother me with papers that

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Chrakhan
I tried already to change the line but what i want to see is when i write '(1 2 3) in the REPL i want to get (1 2 3) and not '(1 2 3) or (mcons 1( mcons 2... Just like DrRacket in r5rs language do! Any idea what to do? Sent from my iPhone On 28 Mar 2015, at 00:44, Alexander D. Knauth

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Alexander D. Knauth
Does changing it do this do what you want? (make-evaluator '(special r5rs) '(require r5rs/init) On Mar 27, 2015, at 8:26 PM, Chrakhan chrakhan.barza...@gmail.com wrote: I tried already to change the line but what i want to see is when i write '(1 2 3) in the REPL i want to get (1 2 3) and not

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Alexander D. Knauth
On Mar 27, 2015, at 8:51 PM, Alexander D. Knauth alexan...@knauth.org wrote: Does changing it do this do what you want? (make-evaluator '(special r5rs) '(require r5rs/init) And I forgot, also add a [current-print write] to the parameterize form? On Mar 27, 2015, at 8:26 PM, Chrakhan

[racket-users] Re: carmack s-expression tweet

2015-03-27 Thread John Carmack
On Friday, March 27, 2015 at 2:45:00 PM UTC-5, Brian Craft wrote: Was this a reference to a particular racket lib? And if so, which one? https://twitter.com/ID_AA_Carmack/status/577878167542734848 I have a long history of bit packing multiplayer network messages, but for this project I am

[racket-users] Self contained executables

2015-03-27 Thread John Carmack
I want to be able to build simple (windows) utilities for other team members that don't have Racket installed. The archive-with-dlls option is better than nothing, but it would be a whole lot better to have a single statically linked exe. In this case, it is a 13 MB executable, and only 5 MB

Re: [racket-users] changing REPL Language in TryRacket

2015-03-27 Thread Alexander D. Knauth
Does this changing this line to `(make-evaluator ‘(special r5rs)` do what you want? https://github.com/jarcane/try-racket/blob/master/main.rkt#L53 On Mar 27, 2015, at 6:44 PM, Chrakhan Barzanji chrakhan.barza...@gmail.com wrote: hi, as you may know in TryRacket the language of the REPL is

Re: [racket-users] carmack s-expression tweet

2015-03-27 Thread Alexis King
Oh, very neat... racket/fasl was precisely the sort of thing I was thinking of. On Mar 27, 2015, at 17:26, Jay McCarthy jay.mccar...@gmail.com wrote: Look at my original response to John's post about this... The binary format you are thinking of is racket/fasl. Jay On Friday, March