On 20 Apr 2019, at 1:11, 'John Clements' via Racket Users wrote:
There’s a paper at the most recent ICFP from Simon Peyton Jones (et
al., I’m guessing) on make languages, IIRC.
Very interesting -- thanks! The paper is Andrey Mokhov, Neil Mitchell,
and Simon Peyton Jones. 2018. Build
> If you want to invoke the language as `#lang foo/bar` then you would put
> this `reader` submodule in "foo/bar.rkt". This would make
> "foo/bar/lang/reader.rkt" obsolete.
Duh. I think I understand how this resolves now and I have a flat
structure, which I think works nicely:
> On Apr 18, 2019, at 12:08 PM, Luis Sanjuán wrote:
> The last month or so we all read some interesting posts about the convenience
> of examples or docs to facilitate the transition from other languages to
> Racket (from Python to Racket, from R to Racket, ...). Then I thought about
Below is a short example showing that identifier-binding doesn't seem to
work quite right with Scribble's make-base-eval. It works fine with
make-evaluator from racket/sandbox.
I'm not sure why this is, but using syntax-local-value instead works
everywhere. (Implementation here:
The third argument to identifier-binding, top-level-symbol?, controls the
result of identifier-binding when the identifier is bound to a top-level
binding (and both the REPL and sandboxed evaluators are kinds of top-level
evaluation). The docs elaborate this way:
> The result is (list
identifier-binding returns #f for top-level bindings. I believe
make-base-eval is evaluating expressions at top-level.
On Sat, Apr 20, 2019 at 4:56 PM Ryan Kramer wrote:
> Below is a short example showing that identifier-binding doesn't seem to work
> quite right with Scribble's
E' PEDOFILO ED ASSASSINO: PAOLO CARDENÀ (TWITTER)!
DI CRIMINALISSIMO BLOG VINCITORI E VINTI ( VEDRA' COME LO FAREMO DIVENIRE
PARTE DELLA SECONDA CATEGORIA E NON PRIMA, CHE RICICLI DA SEMPRE SOLDI DI
MAFIA, CAMORRA E NDRANGHETA O
On Thu, Apr 18, 2019 at 09:08:07AM -0700, Luis Sanjuán wrote:
> Then I thought about another non-Racket languages that no one
> mention, if I recall well, for which such examples would be more than
> helpful, *SL languages ;)
What are *SL languages?
You received this message
fwiw, I think here is a working version along the lines of your
(require (for-syntax syntax/parse))
[(_ h k v)
#:when (with-handlers ([exn:fail:syntax:unbound? (lambda _ #f)])
On 4/20/19, Hendrik Boom wrote:
> On Thu, Apr 18, 2019 at 09:08:07AM -0700, Luis Sanjuán wrote:
>> Then I thought about another non-Racket languages that no one
>> mention, if I recall well, for which such examples would be more than
>> helpful, *SL languages ;)
> What are *SL languages?
Mail list logo