[racket-users] IFL'21 final call for participation

2021-08-30 Thread Pieter Koopman
IFL 2021 33rd Symposium on Implementation and Application of Functional Languages venue: online 1 - 3 September 202

Re: [racket-users] 'compiled' binary still depending on libs?

2021-08-30 Thread Matthew Flatt
Some libraries have extra run-time files that they refer to with `define-runtime-path` and similar. I think "gregor" is in that category, where it needs files like "timezone.xml". Embedding DLLs can't embed those extra files. The intent is that you use `raco distribute` to package an executable al

[racket-users] Bootstrap on Racket

2021-08-30 Thread Dexter Lagan
Hi again, I've been working on porting my Newstrap Web framework from newLISP to Racket. I got most of it done and am about to start work on a router. Here's what I got so far: DexterLagan/rap: Combination of Racket and Bootstrap, RAP is a Web framework aiming to produce good-looking pages w

[racket-users] 'compiled' binary still depending on libs?

2021-08-30 Thread Dexter Lagan
Hi folks, I'm getting a strange dependency problem when attempting to run my Invoicer binary on systems with corrupted or missing Racket libs. For example, if I attempt to run the compiled binary (with embedded DLLs, Windows 10 x64) on a system which has Racket installed, but missing Gregor,

Re: [racket-users] Context aware macro

2021-08-30 Thread Sorawee Porncharoenwase
> > But what surprises me the most is that it only works at the top level: > assign.rkt> > assign.rkt> (assign foo 3) > assign.rkt> (assign (bar x) (assign foo 7) (* x foo)) > assign.rkt> (bar 1) > 7 > assign.rkt> global > '#hash((bar . (λ (x) (assign foo 7) (* x foo))) (foo . 3)) > Interesting. Fo

[racket-users] Context aware macro

2021-08-30 Thread Dimaugh Silvestris
I wanted a 'define' that stores in a hash the arguments and the function definition so I don't keep forgetting argument order and having to go to the file and check. So with my very little knowledge of macros, I wrote this: #lang racket (define global (make-hash)) (define-syntax (assign stx) (