9 Commits
Author SHA1 Message Date
John MacFarlane 4b26f50118 Add support for compiling pandoc.wasm.
'make pandoc.wasm' will compile a wasm version of pandoc.

This also adds a 'repl' flag to pandoc-lua-engine, so that
support for a Lua repl can be disabled for the wasm build.

A new wasm directory contains:

- pandoc.js, a JavaScript wrapper for pandoc.wasm
- index.html + index.js, a web app exposing all of pandoc's
  functionality in a GUI interface
- a set of illustrative examples that can be loaded from the web app

Most of the code in index.html and index.js has been produced in
interaction with Claude code.
2026-02-01 14:50:50 +01:00
Lima User d8fcdbbd22 Add gnumake and unzip to flake.nix 2026-01-23 23:33:57 +01:00
John MacFarlane 7dafc1a8e5 flake.lock update 2026-01-07 11:21:50 +01:00
John MacFarlane ff3eda71eb Update flake. 2025-12-11 23:38:56 +01:00
John MacFarlane edc99d4ad5 Update flake.lock. 2025-05-12 10:19:16 -07:00
John MacFarlane 07172ed07d New working flake.nix. 2025-05-04 10:57:22 -07:00
John MacFarlane cfbf83c3d5 Simplify and fix flake.nix.
We don't need the workarounds any more.
We no longer include pandoc-cli, pandoc-server, or pandoc-lua-engine
in the packages. Instead, add some of the heavier dependencies to
the list of build inputs.

This is at least a temporary solution to #8818.
2023-05-09 12:37:13 -07:00
John MacFarlane b8ce955e67 Improve flake.nix. 2023-03-08 21:38:20 -08:00
John MacFarlane c879fed90c Add flake.nix. 2023-03-08 11:15:17 -08:00