Re: [pollen] "cannot reference undefined identifier" when using eval in Pollen

2016-07-20 Thread Joel Dueck
On Wednesday, July 20, 2016 at 1:56:02 AM UTC-5, Matthew Butterick wrote: > > > The problem is with 'POLY-FUNCS in the macro template. When you put the > quote mark on the front, then everything inside POLY-FUNCS gets treated as > a symbol. But in fact, you only want the target name to behave as

Re: [pollen] Filenames in index.ptree

2016-07-20 Thread Matthew Butterick
AFAICT that's a bug (Pollen also permits the _ character to be used as an extension separator, and wasn't handling filenames like "foo_bar.html" properly). I've pushed a fix. On Jul 19, 2016, at 11:14 PM, Chris Forster wrote: > Hi All, > > Not totally sure if I'm

Re: [pollen] "cannot reference undefined identifier" when using eval in Pollen

2016-07-20 Thread Matthew Butterick
On Jul 19, 2016, at 9:42 PM, Joel Dueck wrote: > > So to that end I wrote the poly-branch-tag macro, a simplified version of > which is here: > > (define-for-syntax site-poly-targets '(pdf html)) > > (define-syntax (poly-branch-tag stx) > (syntax-parse stx > [(_