Re: [racket-users] Color Arithmetic

2015-06-04 Thread Michael Tiedtke
Il giorno 04/giu/2015, alle ore 23.59, Jens Axel Søgaard ha scritto:2015-06-04 11:38 GMT+02:00 Michael Tiedtke :Before I go ahead and just do it I wanted to ask:1) Does such a thing exist somewhere for Scheme or Racket (I couldn't find anything)     The only example I f

Re: [racket-users] racket virtual machine

2015-06-04 Thread Neil Van Dyke
Thanks, Jens Axel, Raoul, and Robby. Different question... For support for writing polished Web browser (and PhoneGap) apps in Racket, any comments on which of the following two options is better (viable, easier to implement and maintain, better performance, etc.)? 1. Implement Racket VM in

Re: [racket-users] (fifth RacketCon) Second Call for Speakers

2015-06-04 Thread Asumu Takikawa
On 2015-06-04 18:39:39 -0500, Vincent St-Amour wrote: > (fifth RacketCon) will be held on September 27th in St. Louis. > Like last year, we are pleased to be co-located with Strange Loop [3]. BTW, Strange Loop's registration[1] opens next week on June 11 for anyone who is considering going to both

[racket-users] (fifth RacketCon) Second Call for Speakers

2015-06-04 Thread Vincent St-Amour
The schedule for (fifth RacketCon) [1] is starting to take shape, but we still have room for more speakers. If you've built something cool with Racket, we want to hear about it! We're looking for speakers to give 15 minute talks about their Racket-based applications, libraries, etc. If that sounds

Re: [racket-users] Color Arithmetic

2015-06-04 Thread Jens Axel Søgaard
2015-06-04 11:38 GMT+02:00 Michael Tiedtke : > > Before I go ahead and just do it I wanted to ask: > > 1) Does such a thing exist somewhere for Scheme or Racket (I couldn't find > anything) > The only example I found was: > https://www.wolframalpha.com/examples/ColorArithmetic.html > FWIW he

RE: [racket-users] defform quastion

2015-06-04 Thread Jos Koot
Hi Mathhew, Thanks very much. I am sorry I did not see code:line by myself. Jos -Original Message- From: Matthew Flatt [mailto:mfl...@cs.utah.edu] Sent: jueves, 04 de junio de 2015 17:01 To: Jos Koot Cc: 'Racket-Users List' Subject: Re: [racket-users] defform quastion You can use `code:

Re: [racket-users] terminal emulator

2015-06-04 Thread William G Hatch
On Thu, Jun 04, 2015 at 07:20:27AM -0600, Matthew Flatt wrote: At Wed, 3 Jun 2015 16:46:09 -0600, William G Hatch wrote: Its main problem currently is that it spends a lot of time drawing. I am using a canvas% and I override its dc%'s on-paint to get the contents and then draw them on screen.

Re: [racket-users] defform quastion

2015-06-04 Thread Matthew Flatt
You can use `code:line` to group terms without parentheses: (code:line addition + term) At Thu, 4 Jun 2015 16:53:33 +0200, "Jos Koot" wrote: > Hi, > > I have tried to use defform of scribble to describe the following: > > syntax ($ infix-expr) → any > > infix-expr ::= addition > > addit

[racket-users] defform quastion

2015-06-04 Thread Jos Koot
Hi, I have tried to use defform of scribble to describe the following: syntax ($ infix-expr) → any infix-expr ::= addition addition ::= term addition ::= addition + term addition ::= addition - term term ::= etc. Using #:grammar I can easily get: addition = term | (ad

Re: [racket-users] Color Arithmetic

2015-06-04 Thread Michael Tiedtke
Il giorno 04/giu/2015, alle ore 11.38, Michael Tiedtke ha scritto: > All I wanted to do was to compute two or three color steps between two colors > to fade from one to the other. Usually I would this with available > compositing methods but in the current case it's easier to do maths and just

Re: [racket-users] terminal emulator

2015-06-04 Thread Matthew Flatt
At Wed, 3 Jun 2015 16:46:09 -0600, William G Hatch wrote: > Its main problem currently is that it spends a lot of time drawing. I > am using a canvas% and I override its dc%'s on-paint to get the contents > and then draw them on screen. I call the refresh method to queue a > re-paint whenever I g

[racket-users] Color Arithmetic

2015-06-04 Thread Michael Tiedtke
All I wanted to do was to compute two or three color steps between two colors to fade from one to the other. Usually I would this with available compositing methods but in the current case it's easier to do maths and just redraw with the new color. The usual method to calculate the color steps i

Re: [racket-users] terminal emulator

2015-06-04 Thread Jay McCarthy
On Wed, Jun 3, 2015 at 6:46 PM, William G Hatch wrote: > > Hello racketeers, > > I'm pretty new to racket, so to get some experience with it I've been > writing a terminal emulator. It's coming along nicely (it is one > control code away from being able to nicely run vim), and is at > https://git