public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: Experimenting with pandoc module using just Lua
Date: Thu, 16 Jun 2022 17:28:29 +0200	[thread overview]
Message-ID: <CAMwawgOHE5QEeHJbO+NF8QvViKas3P6Q6G7F=dS4YecTda1z1w@mail.gmail.com> (raw)
In-Reply-To: <CAMwawgPtK_eLEpXrJrHPBnjBU-jDoMe-LM4ppba3ibSyqkHR=g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1925 bytes --]

Hi Bastien,

I'm afraid that doesn't really show me how I can build a document from
scratch similar to what is done in Haskell using a `Builder`.

I really would like to avoid learning Haskell and stick to the Lua API. But
I'm getting the impression that use of the Lua API requires understanding
of how the underlying Haskell objects interact.

Regards,

Amine

On Thu, 16 Jun 2022 at 17:20, A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> I guess a better way to phrase my question is the following:
>
> *Is there a way to generate a document from scratch and programmatically
> using Lua and without using Haskell?*
>
> There is mention here
> <https://pandoc.org/using-the-pandoc-api.html#builder> of a pandoc Builder
> class but I don’t see its Lua equivalent here
> <https://pandoc.org/lua-filters.html#module-pandoc>.
>
>
> ---------- Forwarded message ---------
> From: A A <amine.aboufirass-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: Thu, 16 Jun 2022 at 16:51
> Subject: Experimenting with pandoc module using just Lua
> To: <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
>
>
> Dear All,
>
> Is there a way to experiment with the objects pandoc module using Lua
> without having to write a filter/writer and go through the pandoc CLI? I
> would really like to just experiment with generating documents and getting
> familiar with the Lua API using just a Lua interpreter.
>
> Regards,
>
> Amine
>

-- 
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/CAMwawgOHE5QEeHJbO%2BNF8QvViKas3P6Q6G7F%3DdS4YecTda1z1w%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 5381 bytes --]

  reply	other threads:[~2022-06-16 15:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16 14:51 A A
     [not found] ` <CAMwawgOK_kc4oYvF50s8590tngEXRpiG=2hnh0PR2FNXskZhCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-16 15:19   ` Bastien DUMONT
2022-06-16 15:20   ` Fwd: " A A
2022-06-16 15:28     ` A A [this message]
     [not found]       ` <CAMwawgOHE5QEeHJbO+NF8QvViKas3P6Q6G7F=dS4YecTda1z1w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-16 15:33         ` Bastien DUMONT
2022-06-17  9:38           ` A A
     [not found]             ` <CAMwawgMt32uLCRXDqwxpudMF92sBQVg_f2cNXvzV0T3rsyy5xA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-06-17  9:49               ` Bastien DUMONT
2022-06-17 10:07                 ` AW: " denis.maier-NSENcxR/0n0
     [not found]                   ` <cb27f08f1f8244119dc1865f9b655618-NSENcxR/0n0@public.gmane.org>
2022-06-17 15:35                     ` BPJ
2022-06-17 17:34                     ` AW: " 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='CAMwawgOHE5QEeHJbO+NF8QvViKas3P6Q6G7F=dS4YecTda1z1w@mail.gmail.com' \
    --to=amine.aboufirass-re5jqeeqqe8avxtiumwx3w@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).