Can you provide an example of what you want to accomplish?

On Tue, Jul 23, 2019 at 8:57 PM <sanc...@gmail.com> wrote:

> I want to make some small additions to the syntax available to authors.
> I'm considering two paths and would like some advice.
>
> 1. I could write a custom #lang that turns my pollen+additions into plain
> pollen. But I'm having a hard time figuring out how this would work. The
> reader would do a custom parse into an s-exp with my additional syntax
> handled as tokens, but with everything else just being parsed as individual
> characters. The expander would write out characters as-is, leaving most of
> the program untouched, but would turn my additional syntax that was parsed
> as tokens into pollen tags and content. But then I just get a bunch of
> pollen code printed out of the expander. What do I *do* with that?
>
> OR
>
> 2. I could to implement this with custom transformations in pollen's
> decode (like is done with decode-paragraphs).
>
> Suggestions?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Pollen" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pollenpub+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pollenpub/bc6e6b75-1755-4de9-b407-a622ef02c715%40googlegroups.com
> <https://groups.google.com/d/msgid/pollenpub/bc6e6b75-1755-4de9-b407-a622ef02c715%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Pollen" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pollenpub+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pollenpub/CADcuegt6FCfW%2Ba_fO__mYQGxiO%2BkNhYFseOwyraYCxvtFPt2Vw%40mail.gmail.com.

Reply via email to