Open MarinPostma opened 1 year ago
I am wondering how hard it would be to have spanned AST node. It would be very useful to retrieve the subslice of the original string that an AST node corresponds to. This is quite common in parsers, such as
I am wondering how hard it would be to have spanned AST node. It would be very useful to retrieve the subslice of the original string that an AST node corresponds to. This is quite common in parsers, such as