chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] web-scheme & hart


From: Robin Lee Powell
Subject: Re: [Chicken-users] web-scheme & hart
Date: Sat, 15 Mar 2008 12:09:00 -0700
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Sat, Mar 15, 2008 at 03:05:25PM -0400, Graham Fawcett wrote:
> Until I get custom tag support, you could try adding an (f:)
> clause to hart-support.scm, e.g.:
> 
>         ((t: text:)
>          (hart-emit `(apply hart-print (map hart-html-escape
>                                    (list ,@body)))))
> +        ((f:) (hart-parse-keyword-form `(text: (foo ,@body))))
> 
> Untested but should work. Here, (f: ...) is simply translated to
> (text: (foo ...)) and then resubmitted for processing.
> 
> Note too that (t: ...) is an abbreviation for (text: ...). You can
> tell from the snippet above how abbreviations can be specified.

In fact, I realized afterwards that what I needed was a bit more
complicated than that; it was my attempt to solve the problem with
macros that led to the other "oh noes!" thread.

-Robin

-- 
Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo
Proud Supporter of the Singularity Institute - http://singinst.org/
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]