John MacFarlane
f97ab76f81
Bump pandoc-cli to 0.1.1, depend on latest pandoc-lua-engine
2023-03-27 16:55:35 -07:00
Albert Krewinkel
f9b6777a92
pandoc-cli: require hslua-cli-1.4.1
...
This fixes a bug where the program would not enter interactive mode if
`-v`, `-e`, or `-l` was used together with the `-i` command line flag.
2023-03-18 18:26:12 +01:00
Albert Krewinkel
a23d14079c
pandoc-cli: add a Lua REPL
2023-03-17 09:18:41 -07:00
Albert Krewinkel
0f7653cd10
Switch to hslua-2.3
2023-03-13 13:23:43 +01:00
Albert Krewinkel
28fa37e554
CI: test with GHC 9.2.5 and 9.4.4
2023-01-12 22:21:39 +01:00
John MacFarlane
42b6e3907c
Fix nightly flag build.
2022-10-01 09:56:50 -07:00
John MacFarlane
215d62ccd6
Remove build versions info from --version output.
2022-09-30 17:18:15 -07:00
John MacFarlane
aa0e9c4d6e
Move --version handling to pandoc-cli.
...
Print flag settings (lua, server) and versions of all relevant packages.
Add suffix for nightly builds.
Move `nightly` flag from pandoc to pandoc-cli.
Closes #8339 .
2022-09-30 16:46:39 -07:00
Albert Krewinkel
b6a571d577
pandoc-cli: Allow building a binary without Lua support
...
Disabling the `lua` cabal flag will result in a binary without Lua.
2022-09-30 08:33:40 -07:00
Albert Krewinkel
5be9052f5f
[API Change] Extract Lua code into new package pandoc-lua-engine
...
The flag 'lua53` must now be used with that package if pandoc is to be
compiled against Lua 5.3.
2022-09-30 08:33:40 -07:00
John MacFarlane
9169eee7e1
Bump pandoc version to 3.0.
...
In light of the package splitting changes.
2022-09-29 08:18:02 -07:00
John MacFarlane
fd1b3f2b6f
Bump version to 2.20, depend on >= 2.20 in pandoc-cli, pandoc-server.
2022-09-28 08:50:11 -07:00
Albert Krewinkel
a3fd6c674d
pandoc-cli: update to hslua-cli-1.2
2022-09-27 08:42:27 -07:00
Albert Krewinkel
2bad9a9aa4
pandoc-cli: Avoid the CPP language extension
...
Alternative behavior for the *server* flag is implemented by using
separate modules.
2022-09-27 08:42:27 -07:00
Albert Krewinkel
de0e3ff5f6
pandoc-lua: support more command line flags
2022-09-26 19:50:39 +02:00
John MacFarlane
13ee8b82da
Add server flag to pandoc-cli.
...
This allows the executable to be built without support for
"server mode."
2022-09-26 09:25:54 -07:00
Albert Krewinkel
e3648357cf
Use hslua-cli package for pandoc-lua interface
2022-09-23 22:26:37 +02:00
John MacFarlane
bd1d923b86
Split pandoc-server, pandoc-cli into separate packages. ( #8309 )
...
This also removes the unnecessary Setup.hs from pandoc.
Cabal does not need this with build-type 'simple'.
2022-09-22 09:47:07 -07:00