refactor: doerg는 publisher와 결합
Some checks failed
build / build (push) Failing after 36s

This commit is contained in:
2026-04-03 11:20:36 -06:00
parent 5ca59fdb5e
commit 6e9531f944
76 changed files with 912 additions and 325 deletions

View File

@@ -0,0 +1,12 @@
#+title: doerg-temml-worker
This is a tiny Node script that is used by doerg. For each CBOR-encoded value on stdin (a "command"), a response value is spit to stdout.
Currently, the following commands are supported:
- Any string: Return the Temml-rendered MathML code as a string (inline).
- An array with a single string element: Return the Temml-rendered MathML code as a string (display).
If something goes wrong, either of these commands may return an object of form
#+begin_src json
{"type": "error"
,"error": «error object»}
#+end_src