[racket-users] Requesting feedback on CSS3 parser and tokenizer

2020-05-12 Thread Sage Gerard
I'm working to release a CSS3 tokenizer and parser to the catalog tomorrow. https://github.com/zyrolasting/css3-syntax The current state lacks tests, so any logic errors should keep me busy for a little longer. I'm here to ask for bug reports and feedback in the issue tracker since I had my

[racket-users] Re: Requesting feedback on CSS3 parser and tokenizer

2020-05-12 Thread Alex Harsanyi
I now very little about web technologies and web development, so this might be a stupid question: could you explain what types of applications might need a to parse CSS files? I can only think of one, and that is a web browser. Are you working towards a web browser in Racket? Alex. On

Re: [racket-users] Re: Racket Program doesn't save

2020-05-12 Thread Sai Ganesh Buchireddy
Tries saving it on desktop, downloads and also Dr.Racket folder but doesn't work On Wednesday, May 13, 2020 at 1:20:32 AM UTC+5:30, Stephen De Gabrielle wrote: > > What happens if you try to save to Desktop? > > S. > > On Mon, 11 May 2020 at 22:56, Sai Ganesh Buchireddy > wrote: > >> After I

Re: [racket-users] Re: Requesting feedback on CSS3 parser and tokenizer

2020-05-12 Thread Hendrik Boom
On Tue, May 12, 2020 at 05:35:59PM -0700, Alex Harsanyi wrote: > I now very little about web technologies and web development, so this might > be a stupid question: could you explain what types of applications might > need a to parse CSS files? I can only think of one, and that is a web >

Re: [racket-users] Re: Typing lag with DrRacket on Linux

2020-05-12 Thread evdubs
I did some more digging and found locations in racket/draw that control antialiasing. I tried changing them around, and saw no impact on performance. However, I eventually stumbled upon the environment variable PLT_DISPLAY_BACKING_SCALE. By using an integer value for this variable,

Re: [racket-users] Re: Requesting feedback on CSS3 parser and tokenizer

2020-05-12 Thread Sage Gerard
> I now very little about web technologies and web development, so this might > be a stupid question: could you explain what types of applications might > need a to parse CSS files? Linters and minifiers. Linters are proofreaders for your code. They need to parse code to alert users to things

[racket-users] Button click callback syntax

2020-05-12 Thread Philip Benade
Hi All I am new to Racket and I have found a situation where I'm not certain why Racket works the way it does. Unfortunately I am not sure of the vocabulary so I will describe the situation with some code: ; A button made this way works as I would expect, it waits for 30 minutes and then

Re: [racket-users] Button click callback syntax

2020-05-12 Thread David Storrs
Hi Philip, The essence here is when evaluation happens: ; All of these are equivalent: (define foo (lambda () 7) (define foo (thunk 7)) ; 'thunk' is a term of art meaning "function of 0 arguments" (define (foo) 7) Try running the following code in the repl: ; start code (define

Re: [racket-users] Re: Racket Program doesn't save

2020-05-12 Thread Stephen De Gabrielle
What is the full path for the save? On Mon, 11 May 2020 at 23:05, Sorawee Porncharoenwase < sorawee.pw...@gmail.com> wrote: > Does tst.rkt get created? I use racket-7.7-x86_64-macosx and run macOS > Catalina too, but could not reproduce the problem. > > On Mon, May 11, 2020 at 2:56 PM Sai Ganesh

Re: [racket-users] Re: Racket Program doesn't save

2020-05-12 Thread Stephen De Gabrielle
What happens if you try to save to Desktop? S. On Mon, 11 May 2020 at 22:56, Sai Ganesh Buchireddy wrote: > After I save the file and try to close Dr. Racket, I get the msg saying > the file is not saved as shown in the 2nd image. > > On Tuesday, May 12, 2020 at 3:23:40 AM UTC+5:30, Sai Ganesh

[racket-users] Re: Button click callback syntax

2020-05-12 Thread gfb
The difference is whether you are evaluating an expression, versus putting it inside a function to be evaluated when the function is called. (require racket/gui) ; Call message-box, get an immediate effect ... (message-box "What do you think?" "hi, would you like a tomato" #f '(yes-no)) ; The