public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Shahbaz Youssefi <shabbyx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: C bindings
Date: Fri, 28 Jun 2013 11:23:16 +0200	[thread overview]
Message-ID: <CALeOzZ_ypqU1fT=cBd8-JNLBeEG3RK0v2VJ1JTh3Q1FS11n6uQ@mail.gmail.com> (raw)
In-Reply-To: <20130626171432.GA1663-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>

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

Thank you for the pointer. I am in the process of updating libpandoc to
work with pandoc 1.11 (actually above 1.10) where I came to a build issue
that I'm not sure how to resolve.

Loading package regex-pcre-builtin-0.94.4.6.8.31 ... linking ... ghc:
/home/XXXX/.cabal/lib/regex-pcre-builtin-0.94.4.6.8.31/ghc-7.4.1/HSregex-pcre-builtin-0.94.4.6.8.31.o:
unknown symbol `utf8_table4'
ghc: unable to load package `regex-pcre-builtin-0.94.4.6.8.31'

Trying to reinstall regex-pcre-builtin with cabal gives a warning that it
may break pandoc.

The offending source code is this:

{-# LANGUAGE TemplateHaskell #-}

module LibPandoc.Instances where

import Data.Data
import Data.DeriveTH
import Text.Pandoc
import Text.Pandoc.Shared

$( derive makeTypeable ''ReaderOptions )
$( derive makeData ''ReaderOptions )
$( derive makeTypeable ''WriterOptions )
$( derive makeData ''WriterOptions )
$( derive makeTypeable ''HTMLMathMethod )
$( derive makeData ''HTMLMathMethod )
$( derive makeTypeable ''ObfuscationMethod )
$( derive makeData ''ObfuscationMethod )

Can you see anything wrong there?

Thank you again for the help,
Shahbaz

On Wed, Jun 26, 2013 at 7:14 PM, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:

> There is
> https://github.com/toyvo/libpandoc
> but I'm not sure when it was last updated.
>
> +++ Shahbaz Youssefi [Jun 26 13 09:32 ]:
> >    Hi,
> >    I just came to know pandoc and it seems wonderful and I'm planning on
> >    using it in a project of mine. My project however is written in C.
> >    Given that making C bindings is a common operation for many languages
> >    (and I saw that for Haskell it too is possible), I was wondering if
> >    pandoc has any C bindings? If not, would it be a possibility to make
> >    those bindings?
> >    I know very basic Haskell, but I might be able to make the bindings
> >    myself with some struggle, if the developers are interested..
> >    Thank you,
> >    Shahbaz
> >
> >    --
> >    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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> >    To view this discussion on the web visit
> >    [1]
> https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-433f-
> >    b176-ce71dd8e3acd%40googlegroups.com.
> >    For more options, visit [2]https://groups.google.com/groups/opt_out.
> >
> > References
> >
> >    1.
> https://groups.google.com/d/msgid/pandoc-discuss/cc84a902-1bc5-433f-b176-ce71dd8e3acd%40googlegroups.com
> >    2. https://groups.google.com/groups/opt_out
>
> --
> 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pandoc-discuss/20130626171432.GA1663%40protagoras.phil.berkeley.edu
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CALeOzZ_ypqU1fT%3DcBd8-JNLBeEG3RK0v2VJ1JTh3Q1FS11n6uQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.



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

  parent reply	other threads:[~2013-06-28  9:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 16:32 Shahbaz Youssefi
     [not found] ` <cc84a902-1bc5-433f-b176-ce71dd8e3acd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2013-06-26 17:14   ` John MacFarlane
     [not found]     ` <20130626171432.GA1663-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2013-06-28  9:23       ` Shahbaz Youssefi [this message]
     [not found]         ` <CALeOzZ_ypqU1fT=cBd8-JNLBeEG3RK0v2VJ1JTh3Q1FS11n6uQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-28 12:12           ` Shahbaz Youssefi
     [not found]             ` <CALeOzZ-Gf=QTQdWa6yb8yG3EWiOUE1kmmUHwT9Axj6aHgPhedQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-30 11:04               ` Shahbaz Youssefi
     [not found]                 ` <CALeOzZ_BcVwuYTJwpQBSOhd9FMbU=Nu_F4=TtDeHLfNc2h3LYQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-30 18:30                   ` John MacFarlane
     [not found]                     ` <20130630183036.GA17415-9Rnp8PDaXcadBw3G0RLmbRFnWt+6NQIA@public.gmane.org>
2015-02-24 14:39                       ` Shahbaz Youssefi
     [not found]                         ` <01aacd0c-291e-455d-9fc0-0673a904671c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2015-02-24 14:44                           ` Matthew Pickering
     [not found]                             ` <CALuQ0m_3c63CN4VLEqMM953bxi=mou4M7+rukbdo9H1=7em7sQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-24 14:51                               ` Shahbaz Youssefi
     [not found]                                 ` <CALeOzZ9Ru015fD-=djS34LYOryiaCXs6NnmbBP=51L-9ZxexTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-24 15:00                                   ` Shahbaz Youssefi
     [not found]                                     ` <CALeOzZ9_oPFaDY0FEnLSSOVno2Ut6oq0VAK1q5gYKYZwfQmimg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-26 18:56                                       ` Shahbaz Youssefi
     [not found]                                         ` <CALeOzZ8xyQC6w3xadF4q7szJW7XhXwGytHuvS1oX8S_b2AzKHA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-26 23:02                                           ` Matthew Pickering
     [not found]                                             ` <CALuQ0m980cpfsfEd2ugnwydg7jdqtdV44VLgNYhY8SX8-bpfoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-02-27 10:03                                               ` Shahbaz Youssefi
2021-06-02 10:23 Esteban Lorenzano
     [not found] ` <058b4e30-1bcc-4b5a-be92-d47e7abf47d7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-06-02 10:53   ` Albert Krewinkel

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='CALeOzZ_ypqU1fT=cBd8-JNLBeEG3RK0v2VJ1JTh3Q1FS11n6uQ@mail.gmail.com' \
    --to=shabbyx-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).