~/talk

MiniLaTeX: Parse LaTeX to HTML

links:none on file
slides:none on file

MiniLaTeX parses a substantial subset of LaTeX to HTML in real time by splitting math to MathJax and text to an AST (a 12-line algebraic type) then rendering; the parser is hand-built with parser combinators in Elm, about 350–400 lines of parser code and a larger renderer. The grammar proves non‑context‑free (environments need matching begin/end), user text‑mode macros can be defined at runtime, and live editing uses greatest‑common‑prefix/suffix reuse so editors like MiniLaTeX Live and MiniLaTeX Reader render updates very quickly.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30What is LaTeX
  3. 4:47Demo
  4. 7:46Example
  5. 9:19Question
  6. 11:03Abstract Syntax Tree
  7. 17:01Summary
  8. 17:30Grammar for LaTeX
  9. 17:45Abstract Syntax
  10. 25:06Parse
  11. 32:41Associated Grammar
  12. 35:53Environment Grammar
  13. 38:19Haskell
  14. 38:44Monads
  15. 39:14Rendering
  16. 42:37Full Pipeline
  17. 44:26Folding
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.