Track positions and improve error messages when parsing EDN Value streams #101

Open
opened 2020-08-06 16:54:55 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:54:55 +00:00 (Migrated from github.com)

Right now, errors when parsing EDN Value streams (e.g., in tx-parser) yield inscrutable error locations based on pointer addresses. This ticket tracks at least indexing into the stream, and hopefully surfacing the underlying line-column pair from the underlying EDN parser. To at least get the first part, I've submitted https://github.com/Marwes/combine/pull/80 upstream.

/cc @rnewman

Right now, errors when parsing EDN `Value` streams (e.g., in `tx-parser`) yield inscrutable error locations based on pointer addresses. This ticket tracks at least indexing into the stream, and hopefully surfacing the underlying line-column pair from the underlying EDN parser. To at least get the first part, I've submitted https://github.com/Marwes/combine/pull/80 upstream. /cc @rnewman
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#101
No description provided.