Commit Graph

22 Commits

Author SHA1 Message Date
Lassi Kortela cb2f938dff Add missing r7rs dependency 2021-09-06 21:30:45 +03:00
Lassi Kortela 1be0d5f82f Redesign the API for version 0.2 2021-09-05 12:50:52 +03:00
Lassi Kortela f89ae02193 Add cleaning script 2021-09-04 15:23:35 +03:00
Lassi Kortela 9e3636777e Fix JSON number regression
cjson produces inexact reals (instead of integers) from JSON integers.
Ensure JSON numbers are converted to Scheme integers.
2021-09-04 14:17:42 +03:00
Lassi Kortela 109f74070c Add stubs for some missing types 2021-09-04 12:52:58 +03:00
Lassi Kortela a1d604d1fc Add (pandoc tar) library
Calls a https://github.com/lassik/pandoc-tar subprocess to do batch
conversions.
2021-09-04 12:52:18 +03:00
Lassi Kortela bfb9974aa9 Use CJSON to read JSON
Profiling shows that most time is spent in:

- medea#read-json
- chicken.port#with-input-from-string

Use the cjson egg to read JSON to go a lot faster.

Note that we still write JSON using medea; that's not slow.

Thanks to wasamasa and sjamaan on #chicken for profiling tips.
2021-09-01 15:31:49 +03:00
Lassi Kortela 950d974f67 Clean up whitespace 2021-09-01 12:19:48 +03:00
Lassi Kortela c0ad41ca0d Add (pandoc server) library 2021-09-01 12:18:39 +03:00
Lassi Kortela 6394f7b2e2 Export pandoc-json->sxml 2021-09-01 12:18:13 +03:00
Lassi Kortela 65a78f8659 Use scsh-process Chicken egg
As advised by Vasilij on IRC. This is thread-safe, whereas (chicken
process) gives mysterious failures in every batch of documents I
tried.

TODO: Rethink `pandoc-command-line`.
2021-09-01 09:06:24 +03:00
Lassi Kortela 181522ca83 Fix missing first word within <em> tags 2021-08-31 12:26:19 +03:00
Lassi Kortela c235a0e70e Add Chicken wiki page 2021-08-25 13:34:43 +03:00
Lassi Kortela 06bb026a63 Add LICENSE file 2021-08-25 13:15:41 +03:00
Lassi Kortela 44be1307ce Try to fix release-info file 2021-08-25 12:17:52 +03:00
Lassi Kortela 5ff1d18918 Fix name of release-info file 2021-08-25 11:58:10 +03:00
Lassi Kortela 8d1ef09d72 Fix splicing bug 2021-08-25 11:50:57 +03:00
Lassi Kortela 9172a0651b Check Pandoc API version 2021-08-25 09:17:59 +03:00
Lassi Kortela 8d5bd6b1ed Add more Pandoc JSON types 2021-08-25 09:17:40 +03:00
Lassi Kortela 745dc5c91c Add Chicken egg information 2021-08-25 00:09:50 +03:00
Lassi Kortela 0279505d2c Add Gauche wrapper 2021-08-24 21:03:49 +03:00
Lassi Kortela ec5cfa689b Add Chicken module 2021-08-24 20:47:07 +03:00