You don't need external modules. But it's certainly nice to have them. What I like about panflute is that it opens up a world of possibilities with the wide variety of python libraries available... You simply don't get that with Lua I'm afraid. 


On Thu, 7 Jul 2022 at 11:55, Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org> wrote:
You don't need to install Lua, it is built into the Pandoc executable. And you will likely not need external modules to write Pandoc filters either!

Le Thursday 07 July 2022 à 11:51:19AM, A A a écrit :
> Yes, but Lua + Luarocks support is nonexistent for Windows. Here's proof:
>
> [1]https://github.com/luarocks/luarocks/issues/1423
>
> Furthermore what useful functions are you referring to which the Lua API
> exposes and which panflute doesn't?
>
> On Thu, 7 Jul 2022 at 00:49, John MacFarlane <[2]jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
>
>
>     Lua filters are also much faster, because we avoid the JSON
>     serialization and deserialization step.  And the Lua API now
>     exposes many useful functions that you're probably not going
>     to find in panflute.
>
>     Günter Dannoritzer <[3]dannoritzer-S0/GAf8tV78@public.gmane.org> writes:
>
>     > I agree with your statement about Python, however, having programmed a
>     few
>     > filter for pandoc I struggled with panflute as the core concept to
>     > understand is how the pandoc AST works. I did not find that much help in
>     > panflute, and it was easier for me to learn lua and use the numerous
>     > lua-filter-examples. Also, I find it easier to use lua, as there are no
>     > extra installations necessary.
>     >
>     > [4]amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org schrieb am Dienstag, 5. Juli 2022 um 17:12:42
>     UTC+2:
>     >
>     >> I'd like to avoid using Lua to make my own custom filters, readers and/
>     or
>     >> writers and stick to panflute because, well, python is just superior to
>     Lua.
>     >>
>     >> If anyone's familiar using panflute, I'd appreciate any commentary or
>     help
>     >> I can get on a recent issue
>     >> <[5]https://github.com/sergiocorreia/panflute/issues/217> I logged in
>     which
>     >> I am trying to process BulletLists.
>     >>
>     >> Thanks for your consideration.
>     >>
>     >
>     > --
>     > You received this message because you are subscribed to the Google Groups
>     "pandoc-discuss" group.
>     > To unsubscribe from this group and stop receiving emails from it, send an
>     email to [6]pandoc-discuss+unsubscribe@googlegroups.com.
>     > To view this discussion on the web visit [7]https://groups.google.com/d/
>     msgid/pandoc-discuss/
>     785dec1b-ea96-4297-9a0e-2d36f9107bddn%40googlegroups.com.
>
>     --
>     You received this message because you are subscribed to the Google Groups
>     "pandoc-discuss" group.
>     To unsubscribe from this group and stop receiving emails from it, send an
>     email to [8]pandoc-discuss+unsubscribe@googlegroups.com.
>     To view this discussion on the web visit [9]https://groups.google.com/d/
>     msgid/pandoc-discuss/m2let5q2ki.fsf%40johnmacfarlane.net.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to [10]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit [11]https://groups.google.com/d/msgid/
> pandoc-discuss/
> CAMwawgN9VkZoWgvdw6xLvoLaB3QRUktswSP8VCuPvjmWvM5xsw%40mail.gmail.com.
>
> References:
>
> [1] https://github.com/luarocks/luarocks/issues/1423
> [2] mailto:jgm@berkeley.edu
> [3] mailto:dannoritzer-S0/GAf8tV78@public.gmane.org
> [4] mailto:amine.ab...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> [5] https://github.com/sergiocorreia/panflute/issues/217
> [6] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [7] https://groups.google.com/d/msgid/pandoc-discuss/785dec1b-ea96-4297-9a0e-2d36f9107bddn%40googlegroups.com
> [8] mailto:pandoc-discuss%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [9] https://groups.google.com/d/msgid/pandoc-discuss/m2let5q2ki.fsf%40johnmacfarlane.net
> [10] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> [11] https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgN9VkZoWgvdw6xLvoLaB3QRUktswSP8VCuPvjmWvM5xsw%40mail.gmail.com?utm_medium=email&utm_source=footer

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/Ysatlyx1D0FT8xbY%40localhost.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgP9PFHV2WDx5Bzp7%3DdnjxjrH_z4AZV1sv2JG8C3hpcCDw%40mail.gmail.com.