public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Bastien DUMONT <bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: AW: using panflute to create filters and (hopefully) writers in pandoc
Date: Tue,  5 Jul 2022 16:46:04 +0000	[thread overview]
Message-ID: <YsRqzBeR/2/469ul@localhost> (raw)
In-Reply-To: <be10de6788b943e5835cac27b9ec3b0e-NSENcxR/0n0@public.gmane.org>

Using Moonscript of Fennel is just a matter of writing a script in one of these languages that will give a valid Lua filter once compiled to Lua. For Fennel (which probably does not interest you), see an example here: https://groups.google.com/g/pandoc-discuss/c/YthBgk5PKRQ/m/O9O-0gmqBAAJ

Le Tuesday 05 July 2022 à 04:10:21PM, denis.maier-NSENcxR/0n0@public.gmane.org a écrit :
> Well BPJ can surely elaborate on that as he uses moonscript. Of course, Pandoc will need the luafief version of a say moonscript script. Regarding the advantages: depending on your background you may be more familiar with these languages and they offer other features.
> ________________________________________
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> im Auftrag von A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Gesendet: Dienstag, 5. Juli 2022 17:59:38
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> Betreff: Re: using panflute to create filters and (hopefully) writers in pandoc
> 
> Last time I checked pandoc doesn't support Moonscript or Fennel. It supports Lua. Furthermore I'm not sure what the added benefit transpiling (as opposed to writing) Lua would bring here...
> 
> On Tue, 5 Jul 2022, 17:47 , <denis.maier-NSENcxR/0n0@public.gmane.org<mailto:denis.maier@unibe.ch>> wrote:
> Not directly related to your question, but have you considered moonscript or fennel or some other to lua transpiler ?
> 
> Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss@googlegroups.com> <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>> Im Auftrag von A A
> Gesendet: Dienstag, 5. Juli 2022 17:12
> An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss-/JYPxA39Uh4Ykp1iOSErHA@public.gmane.orgm>
> Betreff: using panflute to create filters and (hopefully) writers in pandoc
> 
> 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<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 pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPtfvK1UC9Tct-ZG7z-TsytK0Cb%3D%3DGqbpNV0xShfThNtA%40mail.gmail.com<https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPtfvK1UC9Tct-ZG7z-TsytK0Cb%3D%3DGqbpNV0xShfThNtA%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<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/28435ea53d1845208602828320c543a0%40unibe.ch<https://groups.google.com/d/msgid/pandoc-discuss/28435ea53d1845208602828320c543a0%40unibe.ch?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<mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMjYTqrbb4cvZqmSYsEHgNL9C0uiw%3Dc2-7uStuhaeVV6A%40mail.gmail.com<https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgMjYTqrbb4cvZqmSYsEHgNL9C0uiw%3Dc2-7uStuhaeVV6A%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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/be10de6788b943e5835cac27b9ec3b0e%40unibe.ch.

-- 
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/YsRqzBeR/2/469ul%40localhost.


  parent reply	other threads:[~2022-07-05 16:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-05 15:12 A A
     [not found] ` <CAMwawgPtfvK1UC9Tct-ZG7z-TsytK0Cb==GqbpNV0xShfThNtA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-05 15:47   ` AW: " denis.maier-NSENcxR/0n0
     [not found]     ` <28435ea53d1845208602828320c543a0-NSENcxR/0n0@public.gmane.org>
2022-07-05 15:59       ` A A
     [not found]         ` <CAMwawgMjYTqrbb4cvZqmSYsEHgNL9C0uiw=c2-7uStuhaeVV6A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-05 16:10           ` AW: " denis.maier-NSENcxR/0n0
     [not found]             ` <be10de6788b943e5835cac27b9ec3b0e-NSENcxR/0n0@public.gmane.org>
2022-07-05 16:46               ` Bastien DUMONT [this message]
2022-07-06 19:51   ` Günter Dannoritzer
     [not found]     ` <785dec1b-ea96-4297-9a0e-2d36f9107bddn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-07-06 22:49       ` John MacFarlane
     [not found]         ` <m2let5q2ki.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2022-07-07  9:51           ` A A
     [not found]             ` <CAMwawgN9VkZoWgvdw6xLvoLaB3QRUktswSP8VCuPvjmWvM5xsw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-07  9:55               ` Bastien DUMONT
2022-07-07 10:00                 ` A A
2022-07-07 21:58               ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YsRqzBeR/2/469ul@localhost \
    --to=bastien.dumont-vwifzpto/vqstnjn9+bgxg@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).