On 31/12/17 07:59, Stephan Eggermont wrote: > Offray Vladimir Luna Cárdenas > <offray.l...@mutabit.com> wrote: > >> Pandoc consists of a set of readers and writers. When converting a >> document from one format to another, text is parsed by a reader into >> pandoc’s intermediate representation of the document—an “abstract syntax >> tree” or AST—which is then converted by the writer into the target >> format. The pandoc AST format is defined in the module >> |Text.Pandoc.Definition| in pandoc-types >> <https://hackage.haskell.org/package/pandoc-types>. >> >> A “filter” is a program that modifies the AST, between the reader and >> the writer: >> >> |INPUT --reader--> AST --filter--> AST --writer--> OUTPUT| >> >> Filters are “pipes” that read from standard input and write to standard >> output. > Perhaps just reading the original Pier and Magritte thesis work by Lukas > Renggli would be helpful then. Anything new or better in Pandoc? > > Stephan >
I will read it. Knowing that both, Pandoc and Pillar share kind of a similar approach would allow me to connect their AST (I mentioned such idea before, but now the path is more clear). The issue I care in this case is not about hot new stuff, but about bridges between cultural practices, ie, people who is using LMLs for documentation and discussing them extensively and people in the Pharo community. I need such bridges myself and I know enough people that could use them. Cheers, Offray