robrix / Madness

Recursive Descent Into Madness
MIT License
291 stars 14 forks source link

Compute line/column given string & string index #76

Open robrix opened 9 years ago

robrix commented 9 years ago

Successor to #61. We parse over arbitrary CollectionType now, and reductions via --> receive the source collection & parsed range. However, most users are going to parse strings, and it makes no sense to duplicate line/column computation.