public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* Compiling filter to run without haskell
@ 2017-07-03 11:31 Adam Ingmansson
       [not found] ` <e2cd835b-9d4a-43aa-abfa-e801fa0cfa16-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Ingmansson @ 2017-07-03 11:31 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 688 bytes --]

Is it possible to code a filter in haskell, compile it to a binary for use 
on computers without haskell installed?

-- 
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/e2cd835b-9d4a-43aa-abfa-e801fa0cfa16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1099 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Compiling filter to run without haskell
       [not found] ` <e2cd835b-9d4a-43aa-abfa-e801fa0cfa16-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2017-07-04  9:22   ` Kolen Cheung
  2017-07-09 10:30   ` mb21
  2017-07-12 20:52   ` John MacFarlane
  2 siblings, 0 replies; 4+ messages in thread
From: Kolen Cheung @ 2017-07-04  9:22 UTC (permalink / raw)
  To: pandoc-discuss

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

Most probably, since it is compiled. You can also test it by finding some of the simpler filters in Haskell.

Note that the pandoc version used has to be the same between the one you compile with and the one the filter run with, AFAIK.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compiling filter to run without haskell
       [not found] ` <e2cd835b-9d4a-43aa-abfa-e801fa0cfa16-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-07-04  9:22   ` Kolen Cheung
@ 2017-07-09 10:30   ` mb21
  2017-07-12 20:52   ` John MacFarlane
  2 siblings, 0 replies; 4+ messages in thread
From: mb21 @ 2017-07-09 10:30 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 712 bytes --]

From http://pandoc.org/scripting.html

Or, if you want, you can compile it, using ghc --make myfilter, then run 
> the resulting executable

-- 
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/2ca83163-2881-47d8-85eb-2bb707bd3dab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1381 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Compiling filter to run without haskell
       [not found] ` <e2cd835b-9d4a-43aa-abfa-e801fa0cfa16-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2017-07-04  9:22   ` Kolen Cheung
  2017-07-09 10:30   ` mb21
@ 2017-07-12 20:52   ` John MacFarlane
  2 siblings, 0 replies; 4+ messages in thread
From: John MacFarlane @ 2017-07-12 20:52 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

+++ Adam Ingmansson [Jul 03 17 04:31 ]:
>   Is it possible to code a filter in haskell, compile it to a binary for
>   use on computers without haskell installed?

Yes, in fact, the pandoc-citeproc executable that we distribute
with the binary packages is a filter.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-12 20:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03 11:31 Compiling filter to run without haskell Adam Ingmansson
     [not found] ` <e2cd835b-9d4a-43aa-abfa-e801fa0cfa16-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-07-04  9:22   ` Kolen Cheung
2017-07-09 10:30   ` mb21
2017-07-12 20:52   ` John MacFarlane

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).