From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30931 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: AW: using panflute to create filters and (hopefully) writers in pandoc Date: Tue, 5 Jul 2022 16:46:04 +0000 Message-ID: References: <28435ea53d1845208602828320c543a0@unibe.ch> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34089"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBTWVSGLAMGQEFVMI7GQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Jul 05 18:46:11 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f186.google.com ([209.85.208.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o8lgh-0008e2-7b for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 05 Jul 2022 18:46:11 +0200 Original-Received: by mail-lj1-f186.google.com with SMTP id g25-20020a2e9e59000000b0025baf0470fesf3724974ljk.8 for ; Tue, 05 Jul 2022 09:46:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1657039570; cv=pass; d=google.com; s=arc-20160816; b=U5aAlsvi4rTKNDy6ksTRbS414Qs+8oncU50htZc+hEHx68vMxAyztqHwIkZSbyQ5cF pdLF/ZXl8mL7aqMTsusV0uzVZKs4HyhO/86tc8yLeDu+n+wrK14H/qdT0N92hSlBdx5l viFt7O1epfCyfOXxCANqaN59bofSP9WrfECBZMsB4K2LukLRC7mBifuDQ6jZ672VQ/Oi 9co84Ch7r1Toqq1i+Bpb161ZYGbtG+u5PmD5/yAGwDlP+Z3c3Q/Q4w12lEU0+SI7U3CJ JRUB/d+d4hntrVZsqMQHdrhrNv+FVYEuFXfu/F3vGxTkqSCsjrHDuJBp7jmphRq6uz2j 56MQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=zYo9cYnrl0Me/Sl+fNYsoO5ht9ZOursoVLv9qN2Wq3U=; b=Cemm0F6UaMYBXXvThl4PJe0vjPJonHbaRvT/2iIdjqUcAmP3EIuArzCSk1oCs7YHd6 H09+6s22KPvZyufkm9qwS7h214CGEKUHZEK21naHFWgORTrrENwJJ78o4ZbX+jiMKLfH O/0Y94O5CT/RtAwkAox3V9MnG+RGW4zCl0ytUyYFUaOmllZSTttwnhzU+7UlSDwvXpt+ gSn8qOXqh36O6RfW3B/7LkRCsQrEWsQjBaR6iJzr839btcpZ2BhEV/wprWusHfwxVm87 /9nZdkOO0his6aFWnFcOclTKG9hEDYyEXG/OwEeP6J1WcBYjydvEZdKBR7yugkeSMJXJ gd+g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=iDh2RcOb; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=zYo9cYnrl0Me/Sl+fNYsoO5ht9ZOursoVLv9qN2Wq3U=; b=HjCjfGMlNyYYTuOBzUhJHVDX6khXCbPGHtkX5KmB78qo2ckifzg1OCN6gj60y9VlER JrZ6lxPqeyMpDpFqI294kceJmFRJBzNJ8i0XyDWbZ98yiJdiVtnIZn4fkX4ejm1jcJN1 3boLoWQlju8G6nspbSMUfGLrKOU6kqVl2g/FjdbzvLZzz2BuIQSEXCSeUQ1U8MqFD/jg nZ1zf5e+3ug91wPwQSsstXs1MTpmFtDZZOGVibAwqrZasUFIjkzKBdmkdTvifxF5BEyK 9ysrJeDzRoJ4HFJPf54LbMprBNf7d89iiFZmA8+ZyajcZyzdDAfxjX6Gx/W3wglhI1Nc M4aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=zYo9cYnrl0Me/Sl+fNYsoO5ht9ZOursoVLv9qN2Wq3U=; b=GQgSgVGxl15gVkFYyWEHgpOcwvNvIJX9RO8ZGLdf3LDqOpZiuOMUyqDnRXBW3jXXO2 jKFpOmN2trXElR3lNiI1eCN9jWuYBHlInru1YA5UDYdKEToyldPPo1FTOCtcvnE4cgx9 4v71AYxC0NqXku2q6pYYJu9+Wygl6Fhg4aNMUgt0gzKZe7fkK1gSGWpPAxgP9RKh5W6J c+ca6yckpusZ+IBGu5/KMml4ngQEl5jLKZJ4L0k79Pl4229erHCfWXv2zRuqEpvkZTbR KGZaj8Gm3CpZ/J69VGzPyiZNf0E5VFGchixMeodnFUYT Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/6h9GBTqvYBvow8vEZAY7+Az9uf/6E/TLOD4L8QzFfKZsJY+Vk qKiDJMVqyLVmOemYV2Qh/r0= X-Google-Smtp-Source: AGRyM1tG9Li5UtKAsrnBzyZoF370jQWOKyFogPgRBut1OBEvdFu65yX2YyDJvpb4Cp+0oRMNPDBw/w== X-Received: by 2002:a2e:b550:0:b0:25d:3a75:49ed with SMTP id a16-20020a2eb550000000b0025d3a7549edmr1119668ljn.170.1657039570579; Tue, 05 Jul 2022 09:46:10 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:a7d6:0:b0:25d:302b:5ef8 with SMTP id x22-20020a2ea7d6000000b0025d302b5ef8ls540371ljp.8.gmail; Tue, 05 Jul 2022 09:46:05 -0700 (PDT) X-Received: by 2002:a2e:918f:0:b0:25a:7164:f408 with SMTP id f15-20020a2e918f000000b0025a7164f408mr20352390ljg.523.1657039565723; Tue, 05 Jul 2022 09:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657039565; cv=none; d=google.com; s=arc-20160816; b=LD0buhrI/Q4hQw01WlBrEooSW3cu2ELbhLwtp11pqXpW7ISAxPGZYnWqRn6Pdy7mGv VrbnSAv+0L+VqDOXUOF9B6ZlxUJBREqsXOvWw/aOqUUuQlyT82CIdG243yfsmPg6LKpA 99VAr3eRsI3+YW9mjxxQMf4uz7MEB7cHAIizZSpg5TWCkQ2/V4IObEi+2wDw55vBOxhU CgFu+/tXUyMplkhhq98V0YvjHrdJJKqTAL+6TDqD2Lrz0IWpPKTGCeRB7jbHIA6r1DTX bBRA6KzobisyQuTnoYIOB475KibfwdN5Kr/WY6QHL36axQwZh7LbKU0kjN3P29VAE2Dm e5qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=qGVu9PFzAyxGdepjo+O3scwfSukwAsXEB/epw3tg7Ww=; b=uJMCxhDZ2NINQgPnCgzSOBEfbDwAchjshJzFlSwnQfXMZo95Lt0BRTYVjrOx63w9sZ DvbiuP9uFgxXHEq9GZb8184i924zDeCv6BRdS18z1dF+Ngc7fHSCoT7Pzer2wvbASkUL ZebELZ+Sa66Ak8g4Cmyiy/efvSvyyevODAG/RjZ9bHwTF6r/3pMkJh1qkM66yIr0K8Kn tWsjHjs3WSdjS8674Q1lHHtgi+z/K2obg7ECX6emtDGxQCO7959P1NQljHgeyvStIXpb bpBLrumrC9bep4G86ocGp7DZyNVJb7JOfoPMg6ixnNXwBStYRYbjlwoAbrcO5MfdCkbB GtzQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=iDh2RcOb; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout02.posteo.de (mout02.posteo.de. [185.67.36.66]) by gmr-mx.google.com with ESMTPS id h24-20020a2ea498000000b0025a70508721si1349784lji.7.2022.07.05.09.46.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Jul 2022 09:46:05 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) client-ip=185.67.36.66; Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 18D0E240109 for ; Tue, 5 Jul 2022 18:46:05 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LcpTS4fSDz6tmP for ; Tue, 5 Jul 2022 18:46:04 +0200 (CEST) Content-Disposition: inline In-Reply-To: X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=iDh2RcOb; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.66 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30931 Archived-At: Using Moonscript of Fennel is just a matter of writing a script in one of t= hese 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 =C3=A0 04:10:21PM, denis.maier-NSENcxR/0n0@public.gmane.org a =C3=A9cri= t : > Well BPJ can surely elaborate on that as he uses moonscript. Of course, P= andoc will need the luafief version of a say moonscript script. Regarding t= he advantages: depending on your background you may be more familiar with t= hese languages and they offer other features. > ________________________________________ > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im= Auftrag von A A > 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 >=20 > Last time I checked pandoc doesn't support Moonscript or Fennel. It suppo= rts Lua. Furthermore I'm not sure what the added benefit transpiling (as op= posed to writing) Lua would bring here... >=20 > On Tue, 5 Jul 2022, 17:47 , > wrote: > Not directly related to your question, but have you considered moonscript= or fennel or some other to lua transpiler ? >=20 > Von: 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 > Betreff: using panflute to create filters and (hopefully) writers in pand= oc >=20 > 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 Lu= a. >=20 > If anyone's familiar using panflute, I'd appreciate any commentary or hel= p I can get on a recent issue I logged in which I am trying to process BulletLists. >=20 > 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. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/CAMwawgPtfvK1UC9Tct-ZG7z-TsytK0Cb%3D%3DGqbpNV0xShfThNtA%40= mail.gmail.com. >=20 > -- > 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/msgi= d/pandoc-discuss/28435ea53d1845208602828320c543a0%40unibe.ch. >=20 > -- > 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/msgi= d/pandoc-discuss/CAMwawgMjYTqrbb4cvZqmSYsEHgNL9C0uiw%3Dc2-7uStuhaeVV6A%40ma= il.gmail.com. >=20 > --=20 > 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/msgi= d/pandoc-discuss/be10de6788b943e5835cac27b9ec3b0e%40unibe.ch. --=20 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 e= mail 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.