I'm actually rusty at this, but I think the most direct way is to use the
"start" and "length" item descriptors in an array descriptor to get input
stream start location and length in characters:
http://search.cpan.org/~jkegl/Marpa-R2/pod/Semantics.pod#Array_descriptor_actions
To convert input
Hi, folks.
I'm a MARPA newbie, so my apologies if I am asking a question which is too
obvious.
I have a prototype parser for a DSL - my customer needs me to deliver an
AST for it, where each node knows the line number (and perhaps even column
number) at which that expression or construct