Very good! Thank you.
On 2/2/2021 8:31 PM, jon stenerson wrote:
The previous message here prompts this ...
I have some modules with paths "A1.rkt" ... "An.rkt". In the
interaction window of DrRacket I can require any or all of them and I
believe them to be correct.
The previous message here prompts this ...
I have some modules with paths "A1.rkt" ... "An.rkt". In the interaction
window of DrRacket I can require any or all of them and I believe them
to be correct.
Now suppose I have a function (F) that produces one of those paths. I
try (dynamic-requir
Some #lang like scribble cause buttons to be added to DrRacket toolbar.
Can they also add menus or menu items? There is a quickscript example
that does this so it doesn't seem unreasonable. But I don't know.
Jon
--
You received this message because you are subscribed to the Google Groups "Rack
08 Jun 20, at 9:29 PM, Jon Stenerson <mailto:jonstener...@comcast.net>> wrote:
Thanks for confirming. I had actually started with the lexer-src-pos
version but had other problems like exn:fail:read wanting a list of
srclocs and the lexer only having positions. So I switched to
lexe
between positions
and srclocs at some point? Seems awkward.
On June 8, 2020, at 6:49 PM, Jon Zeppieri wrote:
On Mon, Jun 8, 2020 at 8:36 PM jon stenerson wrote:
>
> Hi all,
>
> I don't understand the error message here. The parser seems to be
> looking for a position-token but
Hi all,
I don't understand the error message here. The parser seems to be
looking for a position-token but the lexer is sending srcloc-tokens? Is
there a simple fix? Using Racket 7.7 on WIn 10.
I am also confused about whether to use br-parser-tools or parser-tools
package. br-* is the more
f error could be resolved!
(even when all
> files are compiled by DrRacket)
> Usually, I just turn off "populate 'compiled' directories", but then
> DrRacket needs to compile the file on each F5, which can take
some precious
> time.
> Th
Thanks Neil. Jay, it seems to me that the html spec at w3.org says that
and can be used as inline elements so that may be a
reasonable change to html-spec.rkt.
On 2/25/2016 11:30 AM, Neil Van Dyke wrote:
Jay McCarthy wrote on 02/25/2016 01:21 PM:
Since you mention "in the wild", I think yo
but instead want to use
http://docs.racket-lang.org/html-parsing/index.html
Jay
On Thu, Feb 25, 2016 at 1:13 PM, jon stenerson wrote:
I find that when I use the html library I have to make a few simple changes
to html-spec.rkt. It seems that and are not treated like and
. You can see in thi
I find that when I use the html library I have to make a few simple
changes to html-spec.rkt. It seems that and are not treated
like and . You can see in this example that while remains in
the enclosing , does not. I also find that I have to allow
pcdata as a child of and . I don't know
r wrote:
Sorry we can't do better. And it is really amazing how I actually
think so anthropomorphically about these things. :) That really was a
literal brain dump.
Robby
On Fri, Feb 5, 2016 at 3:53 PM, jon stenerson wrote:
Thanks for the explanation. I appreciate it.
On 2/5/2016 1:55 PM,
aph).
I hope this clears up the issue somewhat.
In the meantime, I suggest you lower the memory limit for your machine.
Robby
On Fri, Feb 5, 2016 at 10:53 AM, jon stenerson wrote:
Actually you don't even have to run the program. With memory limit set to
1024, just open a file containing
Actually you don't even have to run the program. With memory limit set
to 1024, just open a file containing the expression and wait. After a
minute or two DrRacket puts up a MSVC runtime error dialog.
On 2/5/2016 9:39 AM, jon stenerson wrote:
Setting the limit lower helped. Thanks. I di
Setting the limit lower helped. Thanks. I did not see that message about
Background Expansion Terminated before. Now I do.
Jon
On 2/5/2016 6:55 AM, Robby Findler wrote:
It took a while for mine for the custodian limit to be reached and for
the expansion to run out of memory. It may be that the
#lang racket
(let ((x 1))
(letrec-syntax ((m (lambda (t) (syntax (m)
(m)))
When I run this in DrRacket 6.3 on Win 10 it starts looping. I hit the
stop button. The interaction window says "user break" and is ready for
another command.
However, the windows task manager shows DrRacket
to reproduce the problem.
Thanks,
Robby
On Sun, Jan 31, 2016 at 4:51 PM, jon stenerson wrote:
Just using DrRacket 6.3 on Win 10.
Jon
On 1/31/2016 3:22 PM, Robby Findler wrote:
The compilation of racket is (not yet) deterministic so things like
that can throw off internal tables in the .zo files (
te. If
the latter, then it is a bug.
Robby
On Sun, Jan 31, 2016 at 4:17 PM, jon stenerson wrote:
I have some .rkt files and, depending on which file was edited most
recently, either it works fine or it gives a compilation error. (By "edited"
I mean just adding or subtracting a blan
I have some .rkt files and, depending on which file was edited most
recently, either it works fine or it gives a compilation error. (By
"edited" I mean just adding or subtracting a blank line to change the
timestamp). I can submit a simplified example if nobody else has seen
this problem. If t
Some languages have stream libraries with a function to put stuff back
into an input stream, like Common Lisp's unread-char, or C++
istream::putback. Is there anything like that in Racket?
--
You received this message because you are subscribed to the Google Groups "Racket
Users" group.
To uns
ted-caller.
Therefore I want ALL parameters protected.
Thanks, Jos
-Original Message-
From: racket-users@googlegroups.com [mailto:racket-users@googlegroups.com]
On Behalf Of jon stenerson
Sent: miércoles, 13 de enero de 2016 0:50
To: racket-users@googlegroups.com
Subject: Re: [racket-users]
Can you use this instead?
(define (protected-caller thunk)
(parameterize ([p 'anything])
(thunk)))
Works for me
Jon
--
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 a
least something like (error 'http-conn-send! "URL is
missing a path") so it fails more understandably?
On Fri, Oct 16, 2015 at 6:18 AM, Jon Stenerson wrote:
This works:
(define p (head-impure-port (string->url "http://www.racket-lang.org/";)))
(read-line p)
"
This works:
> (define p (head-impure-port (string->url "http://www.racket-lang.org/";)))
> (read-line p)
"HTTP/1.1 200 OK\r"
But, leaving off trailing /, I usually see
> (define p (head-impure-port (string->url "http://www.racket-lang.org";)))
string-trim: contract violation
expected: string
On June 28, 2014, at 12:43AM, Roman Klochkov wrote:
Racket Users list:
http://lists.racket-lang.org/users
On June 28, 2014, at 12:43AM, Roman Klochkov wrote:
Racket Users list:
http://lists.racket-lang.org/users
If anyone has linux available can you try this out and see if it is an
actual bug, and not just my installation? I did reinstall Racket 6 to no
avail. I also checked that this does not happen on Windows. Thanks.
If I enter any program in DrRacket 6.0 on Ubuntu
#lang racket
"OK"
then do "Creat
When I run this in DrRacket, the first (m) gives 0 and the second gives
#.
#lang racket
(m)
(define-syntax m (lambda (stx) #'+))
(m)
Seems a little strange to me. I see why it happens but I guess I had
expected a "use before definition" warning.
Racket Users list:
htt
I get it. Thanks all.
Racket Users list:
http://lists.racket-lang.org/users
When I put the following in the DrRacket definitions window and then
evaluate t, it works for a few seconds and runs out of memory. Anyone
understand the problem?
#lang racket
(define (Print stx port mode)
(if (Atom? stx)
(write-string "ATOM " port)
(Print (Pair-cdr stx) port mod
Using DrRacket 5.2.1 on Ubuntu 12.04. The DrRacket recent list does not
work at program launch. I have to do a file save first. Then the recent
list works until next time I start DrRacket. Any ideas?
Racket Users list:
http://lists.racket-lang.org/users
Thanks guys. I get it now.
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
I'm trying to understand what this is supposed to do:
(define (parse stx)
(syntax-case stx ()
[(_ p ...) #'(p ...)]))
(display (parse #'(1 2 3)))
If I run this in DrRacket with first line #lang racket
I get a syntax object containing a list: #
If I run with #!r6rs instead I get a list of
32 matches
Mail list logo