I'm working on building a standalone executable for a #lang that can be
used in two ways:
1. foo awesome.foo: execute file awesome.foo, which is written in #lang foo
2. foo (no arguments): fire up a REPL. Expressions are to be written in the
foo language.
I can get (1) to work, after wrestling
udp-receive! is giving me unexpected results when my local machine ->
router -> server shows the UDP port of the process running on the
local machine instead of the one from the router. I'm not sure how to
get the router's port instead.
The AWS server does this:
(define-values (len senders-hos
> On Sep 24, 2019, at 23:01, Jesse Alama wrote:
>
> The question is: we do we get the error with define if we know that step is
> undefined? Shouldn't we learn, first, that step is undefined?
The top level is hopeless.
Unlike in a module, an unbound identifier at the top level is not a syntax
I managed to solve my problem, thanks to the suggestion that
#%top-interaction should work as I expect (that is, allow define); your
example shows that I was going down the wrong path in my thinking about the
issue.
What I found is a simple mistake: my expander wraps the define in another
form
On Tue, Sep 24, 2019 at 08:59:31PM +0100, Stephen De Gabrielle wrote:
> I'm building it now so have a go. Not hopeful because the none of the
> tests/examples include any files that could be used as bitmap textures. I'm
> going to dig deeper because maybe the textures are picts?
Sounds like a plau
I'm building it now so have a go. Not hopeful because the none of the
tests/examples include any files that could be used as bitmap textures. I'm
going to dig deeper because maybe the textures are picts?
Failing that It might be possible to add textures. Not my area of
expertise, but worth a look.
Hi all,
TL;DR: What are some patterns/approaches for web sites for which Racket is
particularly suited *and* for which you can point at decently written up
examples in Racket or other languages that share such features?
Much longer me:
I spent much of summer implementing online web sites with
I do understand why any-char wouldn't work. Thanks! I don't really
understand why :seq didn't work, maybe because I want to require one or
more chars (thus :+)? Anyway, it works now! Thanks a lot! You're a legend.
On Tuesday, 24 September 2019 00:57:17 UTC-5, Matthew Butterick wrote:
>
>
> On 23
It's fine to have `#%top-interaction` around a `define`:
```
Welcome to Racket v7.4.0.10.
> (#%top-interaction . (define x 1))
> x
1
```
My guess is that your `#%top-interaction` is doing something that puts
it in an expression context.
Sam
On Tue, Sep 24, 2019 at 8:34 AM Jesse Alama wrote:
>
Hi all,
I have gone through https://docs.racket-lang.org/web-server/test.html to
finally stop manually checking whether I didn't introduce new bugs in one
of my servlets. I think that I have figured out most of the wrinkles for
this, except one.
I run my tests via `raco test server.rkt`, and
I'm working on a REPL for a #lang in which one can make definitions. One
writes
$x := 5
and this gets parsed into an S-expression like
(assignment "x" 5)
The #lang is not based on S-expressions, but I believe that that's
irrelevant (though I may be wrong). Naturally enough, I've set up the
On Tue, Sep 24, 2019 at 01:58:35AM -0700, Stephen De Gabrielle wrote:
> Hi Hendrik
>
> Did you work out how to do this ? I’m also interested.
No. Not at all. I'm starting to look at using am OpenGL binding
instead for my projects .. but that looks much more difficult. I'm
still hoping for a
Hi Hendrik
Did you work out how to do this ? I’m also interested.
Kr
Stephen
--
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...@googlegr
13 matches
Mail list logo