~/talk

An introduction to Xtract

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [machine-learning, scala]
links:none on file
slides:none on file

Xtract is a small Scala library that turns XML into Scala objects and is proven by importing IDML (InDesign) into Lucidpress JSON. It provides an XPath-like path type, a composable XMLReader that returns ParsedResult values of success / failure / partial success, built-in readers for Int/Boolean/Option/Seq, implicit companion-object lookup, recover/defaults, lazy recursion, and is published on GitHub and Maven Central with plans to port combinators to Cats.

AI-written summary · about

  1. 0:00Start
  2. 0:38Background
  3. 1:24First Attempt
  4. 2:02There are a few problems
  5. 3:45The pieces of Xtract
  6. 6:56ParseResult
  7. 7:59XmlReader
  8. 8:57Sample XML
  9. 18:26PartialParseSuccess
  10. 19:02The Future
  11. 19:42References
~/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.