Error formats

By default enolib produces nicely formatted plaintext error messages, but if you're in a terminal environment you can also get awesome colored and syntax highlighted error messages, or even full-fledged HTML if you're deploying enolib with a browser application:

>>> import enolib
>>> from enolib import HtmlReporter, TerminalReporter
>>> document = enolib.parse('field: value', reporter=TerminalReporter) # or HtmlReporter 

Next page: Cursor lookup