Re: [racket-users] Racket 7.3 Plot Performance Regression

2019-10-02 Thread evdubs
If anyone is following along here, I recently installed the Racket 7.4 (non-Chez Scheme) version from the Ubuntu PPA and this performance has been acceptable. It is slightly noticeably slower but much better than what I had seen in 7.3. This works for me, but I am still clueless in

[racket-users] Re: Some guidance in setting up Racket as a game scripting language.

2019-10-02 Thread Alex Harsanyi
Unless your objective is to learn C and SDL, I would recommend writing the game entirely in Racket and using the Racket graphics facilities -- you will find that the performance will be more than enough for a roguelike game that you want to develop. Also, there are more people that can help

Re: [racket-users] Ensuring that channels are GC'd when the child thread terminates

2019-10-02 Thread David Storrs
Ok, thanks. On Wed, Oct 2, 2019, 4:16 PM Matthew Flatt wrote: > At Wed, 2 Oct 2019 11:06:14 -0400, David Storrs wrote: > > On Wed, Oct 2, 2019 at 8:42 AM Matthew Flatt wrote: > > > It depends on `process-file`. If `process-file` retains `msg` until it > > > is otherwise done, then yes. But if

Re: [racket-users] Ensuring that channels are GC'd when the child thread terminates

2019-10-02 Thread Matthew Flatt
At Wed, 2 Oct 2019 11:06:14 -0400, David Storrs wrote: > On Wed, Oct 2, 2019 at 8:42 AM Matthew Flatt wrote: > > It depends on `process-file`. If `process-file` retains `msg` until it > > is otherwise done, then yes. But if `process-file` ignores the argument > > for `msg` or only uses it for the

[racket-users] Re: providing classes from a module

2019-10-02 Thread Jack Firth
(provide fish%) ought to work. Classes created with racket/class are values, just like numbers, strings, and functions, so you can provide them like you would other values. On Wednesday, October 2, 2019 at 1:09:40 PM UTC-7, Tim Meehan wrote: > > Say for instance, I have a class in

[racket-users] providing classes from a module

2019-10-02 Thread Tim Meehan
Say for instance, I have a class in "tastyfish.rkt" #lang racket (require racket/class) ; What `provide` statement would I put here so that another module ; (like "market.rkt" for instance) can require fish%? (define fish% (class object% (super-new) (init size) (define

[racket-users] Rhombus project plan

2019-10-02 Thread Matthew Flatt
[[NOTE: "Rhombus" is the new name for a design project formerly known as "Racket2", but "Rhombus" IS NOT THE FINAL NAME OF THE NEW LANGUAGE. "Rhombus" is the name of the project that will develop a language, and "Rhombus" is a temporary stand-in for a language name to be determined later.

Re: [racket-users] [ANN] RacketScript working for 7.x

2019-10-02 Thread Bogdan Popa
This is fantastic news! Thank you! Stephen Chang writes: > The RacketScript compiler [1] has been updated to work with Racket 7.x > programs, ie all tests pass (though we are still working to support > more primitives). > > Try it out here: http://rapture.twistedplane.com:8080/ > > The next

Re: [racket-users] [ANN] RacketScript working for 7.x

2019-10-02 Thread Hendrik Boom
On Wed, Oct 02, 2019 at 01:53:46PM -0400, Stephen Chang wrote: > The RacketScript compiler [1] has been updated to work with Racket 7.x > programs, ie all tests pass (though we are still working to support > more primitives). > > Try it out here: http://rapture.twistedplane.com:8080/ > > The

[racket-users] [ANN] RacketScript working for 7.x

2019-10-02 Thread Stephen Chang
The RacketScript compiler [1] has been updated to work with Racket 7.x programs, ie all tests pass (though we are still working to support more primitives). Try it out here: http://rapture.twistedplane.com:8080/ The next milestone is to improve RacketScript enough to compile the Racket expander

Re: [racket-users] Ensuring that channels are GC'd when the child thread terminates

2019-10-02 Thread David Storrs
On Wed, Oct 2, 2019 at 8:42 AM Matthew Flatt wrote: > > At Tue, 1 Oct 2019 23:52:05 -0400, David Storrs wrote: > > ; main dispatcher loop in the server. Receives messages, dispatches > > to child thread for processing > > > 2) This WOULD work: > > (let loop () > > (define msg

[racket-users] Some guidance in setting up Racket as a game scripting language.

2019-10-02 Thread Hans Sjunnesson
This is a hobby project of mine - a game in C, using SDL. I'd like to only use C for the rendering part - rather use a scripting language for all of the gameplay code. I want to try to use Racket for this - I've been doing enough Clojure that I'm familiar with a lisp. My first approach was to

Re: [racket-users] Ensuring that channels are GC'd when the child thread terminates

2019-10-02 Thread Matthew Flatt
At Tue, 1 Oct 2019 23:52:05 -0400, David Storrs wrote: > ; main dispatcher loop in the server. Receives messages, dispatches > to child thread for processing > (struct file-info (hash) #:transparent) > (define channels (make-weak-hash)) > (let loop () > (define msg (get-next-message)) ;

[racket-users] Racket Stories

2019-10-02 Thread Jens Axel Søgaard
Hi All, As the Slack users already know, I have created a little web-site to share interesting stories/links/blogs/packages/papers on everything Racket-related. https://racket-stories.com Click "submit" to submit your own stories. /Jens Axel -- You received this message because you are

Re: [racket-users] Re: i18n / translations

2019-10-02 Thread Alexander Shopov
String constants: https://docs.racket-lang.org/string-constants/index.html https://github.com/racket/string-constants I agree they do not support plurals and context, which should mean it would be possible to convert the s-expressions (of Racker messages, not the general case) to po-file

Re: [racket-users] Re: i18n / translations

2019-10-02 Thread Roman Klochkov
What is racket's own one? srfi-29? String-constants? Neither of them support plurals and contexts. Or do you mean something else? вторник, 1 октября 2019 г., 16:06:35 UTC+5 пользователь Alexander Shopov написал: > > We should be able to convert to and from po format to racket's own one. > > На