Repository navigation
Commit 411e6bf
committed
ucd: Rewrite parser to be faster & more flexible
Related: #8599
My original parser was monolithic and inflexible. It worked as intended
for the derived data files, but anything more complicated required hacky
code. For example, the original parser always expected to build a vector
of values, yet sometimes we required other data structures such as
BTreeMaps.
I split up the parser into helper functions that are both cleaner and
more flexible. The actual parser should still yield the same results -
this doesn't "fix" anything yet. However, this is preliminary work for
fixing more of UCD since we will need a more flexible parser for fixes
like the linked PR.1 parent 1db2006 commit 411e6bf
2 files changed
Lines changed: 555 additions & 457 deletions
0 commit comments