[racket-users] nested for loops and suggested alternatives

2019-02-09 Thread travis . hinkelman
Hi All, I'm an R programmer that has recently started learning Racket. I decided to start by trying to create a simple age-structured population model. In R, I would initialize a matrix and use nested for loops to move through the elements of the matrix and propagate the population forward thro

Re: [racket-users] Why ChezScheme?

2019-02-09 Thread Hendrik Boom
On Sat, Feb 09, 2019 at 05:00:39PM -0600, Alexis King wrote: > > On Feb 9, 2019, at 16:49, Hendrik Boom wrote: > > > > Just wndering -- What was the original purpose in moving Racket to Chez? > > You probably want to read Matthew’s original email on the subject, from about > two years ago: > >

Re: [racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread George Neuner
On 2/9/2019 1:33 PM, 'John Clements' via Racket Users wrote: > On Feb 8, 2019, at 15:01, George Neuner wrote: > > > The distinguishing characteristics of "nanopass" are said to be: > > (1) the intermediate-language grammars are formally specified and > enforced; > (2) each pass needs

Re: [racket-users] Why ChezScheme?

2019-02-09 Thread Alexis King
> On Feb 9, 2019, at 16:49, Hendrik Boom wrote: > > Just wndering -- What was the original purpose in moving Racket to Chez? You probably want to read Matthew’s original email on the subject, from about two years ago: https://groups.google.com/d/msg/racket-dev/2BV3ElyfF8Y/4RSd3XbECAAJ Alexis

[racket-users] Why ChezScheme?

2019-02-09 Thread Hendrik Boom
Just wndering -- What was the original purpose in moving Racket to Chez? -- hendrik -- 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, send an email to racket-users+unsubscr...@goo

Re: [racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread Matthias Felleisen
> On Feb 9, 2019, at 5:35 PM, ra...@airmail.cc wrote: > > Could nanopass, at least in theory, fuse multiple (or even all) passes into > one at compile time. To create a very efficient compiler which is also > logically broken down and readable in the source code? Yes, precisely because the

Re: [racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread rain1
On 2019-02-08 23:01, George Neuner wrote: On Fri, 8 Feb 2019 08:37:33 -0500, Matthias Felleisen wrote: On Feb 6, 2019, at 3:19 PM, George Neuner wrote: The idea that a compiler should be structured as multiple passes each doing just one clearly defined thing is quite old. I don't have

[racket-users] Re: I am looking for someone who can code me a memory game in drracket. I pay for it.

2019-02-09 Thread orenpa11
Hi, Did you write the code in DrRacket ? Thanks, Or On Monday, May 21, 2018 at 2:28:26 PM UTC+3, ronen...@leobaeck.net wrote: > > Hey I need a code of memory game in Drracket in any language. I'll pay you > for this:D. > -- You received this message because you are subscribed to the Google Gro

Re: [racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread Benjamin Scott Lerner
Credit where it's due: Joe Politz (now at UCSD) came up with the first adaptation of Ghuloum's approach, and I've been riffing on his notes :-)On Feb 9, 2019 1:34 PM, 'John Clements' via Racket Users wrote:  Last year I went with what I think of as the Aziz Ghuloum via Ben Lerner approach, start

Re: [racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread 'John Clements' via Racket Users
> On Feb 8, 2019, at 15:01, George Neuner wrote: > > On Fri, 8 Feb 2019 08:37:33 -0500, Matthias Felleisen > wrote: > >> >>> On Feb 6, 2019, at 3:19 PM, George Neuner wrote: > >>> >>> The idea that a compiler should be structured as multiple passes each >>> doing just one clearly defined

[racket-users] Re: Some concern about ChezScheme...

2019-02-09 Thread George Neuner
On Fri, 8 Feb 2019 08:37:33 -0500, Matthias Felleisen wrote: > >> On Feb 6, 2019, at 3:19 PM, George Neuner wrote: >> >> The idea that a compiler should be structured as multiple passes each >> doing just one clearly defined thing is quite old. I don't have >> references, but I recall some of

[racket-users] Re: i18n / translations

2019-02-09 Thread Greg Trzeciak
look into: https://github.com/racket/string-constants for the way DrRacket gets translations/internationalization On Saturday, February 9, 2019 at 2:56:59 PM UTC+1, cwebber wrote: > > How are people currently translating their programs? > I expected to see a gettext library or something, but have

Re: [racket-users] Pitfall for contracts with serializable structs

2019-02-09 Thread Robby Findler
[ tl;dr See the newly added struct-guard/c ] I agree this is a problem (and a pernicious one!). Thinking about it from the contract system design point of view, the way serializable struct work this looks a lot like the situation where the module author has (separately) exported the constructor w

Re: [racket-users] i18n / translations

2019-02-09 Thread Bogdan Popa
> How are people currently translating their programs? I was searching for a way to do l10n yesterday[1] and the best I could find was SRFI 29[2] from srfi-lib. [1]: https://github.com/Bogdanp/racket-webapp-template/commit/7647b2f2f460d1ede4f468e00f4dea62a541ee6e#diff-9978fbdfa51cde9daace605e8

[racket-users] i18n / translations

2019-02-09 Thread Christopher Lemmer Webber
How are people currently translating their programs? I expected to see a gettext library or something, but haven't. I see that DrRacket is translated, but I did a few simple greps through the DrRacket repo and couldn't figure out how. Am I missing something? Or is this tooling that needs to be w