I try to create a compiler of a simplified language and I want to know how to store meta information like line number in my node. This will permit me to make a step-by-step interpretation. So I need to find the line of the current instruction in the concrete source text from the instruction node.
Can someone help me with this problem ?
Thank you by advance.