<countvajhula>
i tried a few variations of defining the helper macro "for syntax" as well, and various permutatios of "(require (for-meta ..." but none of them bore fruit...
<countvajhula>
help would be much appreciated :)
<countvajhula>
i think the issue has something to do with the helper macro being used inside the cond expression, since when i tried a similar example without the cond, it worked. yet, rewriting a clause for use inside a cond is what i'm trying to do
<casaca>
also works without the ':expr' i added to your mac-helper macro
ephemera_ has quit [Ping timeout: 246 seconds]
ephemera_ has joined #racket
countvajhula has quit [Ping timeout: 240 seconds]
brj has quit [Ping timeout: 265 seconds]
brj has joined #racket
countvajhula has joined #racket
endformationage has quit [Quit: WeeChat 2.9]
refpga has joined #racket
<countvajhula>
casaca: thank you for the attempt! Unfortunately, I need the `cond` to be in the main `mac` macro whose purpose is to rewrite itself to an overarching cond expression with clauses, while the `mac-helper` macro is intended to rewrite the individual clauses
selimcan has quit [Remote host closed the connection]
ephemera_ has quit [Ping timeout: 256 seconds]
emacsomancer has quit [Read error: Connection reset by peer]
ephemera_ has joined #racket
ephemera_ has quit [Ping timeout: 240 seconds]
<casaca>
countvajhula, no problem, and good luck! post your result when you figure it out. i'd like to see how one can yank a cond clouse in
ephemera_ has joined #racket
emacsomancer has joined #racket
ephemera_ has quit [Ping timeout: 240 seconds]
ephemera_ has joined #racket
orivej has joined #racket
emacsomancer has quit [Read error: Connection reset by peer]
emacsomancer has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #racket
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
countvajhula has quit [Ping timeout: 260 seconds]
ephemera_ has quit [Ping timeout: 258 seconds]
countvajhula has joined #racket
ephemera_ has joined #racket
orivej has quit [Ping timeout: 246 seconds]
bocaneri has joined #racket
_whitelogger has joined #racket
orivej has joined #racket
nullcone has joined #racket
<winny>
biggest racket gotcha for today --- how do i test deps locally so i don't have to wait for CI rebuilds :)
<countvajhula>
casaca: you got it
<countvajhula>
winny: try raco setup with `--check-pkg-deps --unused-pkg-deps`
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
mirrorbird has quit [Quit: Leaving]
countvajhula has quit [Ping timeout: 240 seconds]
<winny>
hmm maybe i don't understand how to stucture multi packages
<winny>
thanks by the way, i'll be using that. i had first written a dockerfile to simply try installing in a clean environment, but will try out those flags once it is able to discover the deps list
refpga has quit [Ping timeout: 272 seconds]
refpga has joined #racket
bitmapper has quit [Quit: Connection closed for inactivity]
jellie has joined #racket
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
jellie has quit [Ping timeout: 258 seconds]
jellie has joined #racket
MetaHertz has quit [Remote host closed the connection]
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
ephemera_ has quit [Ping timeout: 260 seconds]
ephemera_ has joined #racket
siel has quit [Read error: No route to host]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dzoe>
Oh, thanks to the timezone shifts, I'll probably manage to see all the talks I want to see. Awesome!
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
_whitelogger has joined #racket
srandon111 has quit [Read error: Connection reset by peer]
jellie has quit [Ping timeout: 256 seconds]
jellie has joined #racket
jellie has quit [Ping timeout: 246 seconds]
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
ephemera_ has quit [Ping timeout: 258 seconds]
ephemera_ has joined #racket
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
aaaaaa has joined #racket
jellie has joined #racket
jellie has quit [Ping timeout: 272 seconds]
ephemera_ has quit [Quit: No Ping reply in 180 seconds.]
ephemera_ has joined #racket
TCZ has joined #racket
ephemera_ has quit [Ping timeout: 264 seconds]
ephemera_ has joined #racket
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
MetaHertz has joined #racket
nullcone has quit [Quit: Connection closed for inactivity]
jellie has joined #racket
brj has quit [Ping timeout: 256 seconds]
brj has joined #racket
selimcan has joined #racket
refpga has quit [Remote host closed the connection]
sm2n_ is now known as sm2n
dmiles has quit [Ping timeout: 265 seconds]
revtintin has joined #racket
acarrico has joined #racket
<aaaaaa>
Hi all. Have anybody used Lisp/Scheme for static webpage generation? I would be interested in how it was done
ephemera_ has quit [Ping timeout: 260 seconds]
ephemera_ has joined #racket
brj has quit [Ping timeout: 240 seconds]
brj has joined #racket
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
ephemera_ has quit [Read error: Connection reset by peer]
ephemera_ has joined #racket
phillbush has joined #racket
TCZ has quit [Quit: Leaving]
wingsorc has quit [Ping timeout: 260 seconds]
TCZ has joined #racket
bitmapper has joined #racket
jellie has quit [Ping timeout: 256 seconds]
<selimcan>
o/ aaaaaa
<selimcan>
There is scribble/html, pollen, or frog
<selimcan>
I'm using pollen at selimcan.org
jellie has joined #racket
<selimcan>
and also scribble/html on a personal site
<selimcan>
+ a makefile which runs `racket foo.rkt > foo.html` on every #lang scribble/html file
<selimcan>
There was also another static website generator in racket I've forgotten the name of
jellie has quit [Ping timeout: 256 seconds]
tilpner has quit [Remote host closed the connection]
tilpner has joined #racket
tilpner has quit [Remote host closed the connection]
tilpner has joined #racket
<aaaaaa>
thanks for suggestions
tilpner has quit [Remote host closed the connection]
tilpner has joined #racket
tilpner has quit [Remote host closed the connection]
tilpner has joined #racket
<bremner>
selimcan: do you have an comparison of the learning curve for pollen and frog?
countvajhula has joined #racket
<selimcan>
I haven't used frog to be able to tell
<selimcan>
the website mentioned is meant to be book-like, and at some point I'm likely to need to convert it into a book, so pollen was a good fit
<selimcan>
only good experiences with it
endobson has joined #racket
TCZ has quit [Quit: Leaving]
* dzoe
finally arrived at RacketCon :)
<dzoe>
"arrived" that is ...
endformationage has joined #racket
ephemera_ has quit [Ping timeout: 256 seconds]
ephemera_ has joined #racket
<greghendershott>
countvajhula: Remember that evaluation is inside out, but macro expansion is outside in.
<greghendershott>
So first, ignore your "mac" and just try exercising "mac-helper" directly: `(cond (mac-helper (positive? 5) 'hi))`.
<greghendershott>
That gives the same error.
<greghendershott>
Because the expansion of `cond` happens first.
<greghendershott>
And it sees that as `(cond [predicate expr0 expr1])`
<greghendershott>
In other words it is trying to use `mac-helper` as an expression.
<greghendershott>
The error is the same as if you try to use `mac-helper` all by itself.
ephemera_ has quit [Remote host closed the connection]
ephemera_ has joined #racket
<countvajhula>
greghendershott: I see.. in that case, is it impossible to pre-expand something before an outer macro sees it?
<countvajhula>
could it possibly be done at an earlier "phase" in the expansion?
<countvajhula>
in desperation I did try some guess-and-check with "require for-meta" and whatnot that I scarcely understood. but did not know it was expanded "outside in"... that might help when I get back in the ring :)
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
countvajhula has quit [Ping timeout: 244 seconds]
brj has quit [Ping timeout: 264 seconds]
brj has joined #racket
endobson has joined #racket
<greghendershott>
rudybot: later tell countvajhula Something like `#'(cond [(mac-p p) (mac-c c)])`. Or, you can splice in the pieces from a list of syntax using `...` or `#,@`.
<rudybot>
greghendershott: I asked `MemoServ' to forward the message to countvajhula.
ephemera_ has quit [Ping timeout: 256 seconds]
ephemera_ has joined #racket
countvajhula has joined #racket
ephemera_ has quit [Ping timeout: 260 seconds]
ephemera_ has joined #racket
ephemera_ has quit [Read error: Connection reset by peer]
ephemera_ has joined #racket
narimiran has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
endobson has joined #racket
ephemera_ has quit [Remote host closed the connection]