Closed ajeetdsouza closed 2 years ago
The parser should include byte indexes in the AST to allow go-to definitions as well as runtime error reporting. For example, Gluon does this with the Span type: https://github.com/gluon-lang/gluon/blob/master/vm/src/core/grammar.lalrpop
Span
The parser should include byte indexes in the AST to allow go-to definitions as well as runtime error reporting. For example, Gluon does this with the
Span
type: https://github.com/gluon-lang/gluon/blob/master/vm/src/core/grammar.lalrpop