Skip to content
ryanfreckleton edited this page Mar 20, 2013 · 2 revisions

Parsing citations

Currently, citations are parsed with a parsley based grammar. Eventually we'll want to try a bunch of different grammars and compare them to determine the full results.

Arbitrary code can be called in a parsley grammar, so that gains us a lot of flexibility. That can include look ups in dictionaries, probability functions, etc.

Parsley will get stuck in an infinite loop if it matches on a null string. So don't do that.

Clone this wiki locally