Development of advanced IDE features requires parsing broken source code because writing something in editors usually causes intermediate – syntactically incorrect states. This is not only for Ruby code, but also for RBS type definitions.
In this talk, I will introduce my error tolerant parser and the tricks that generate better syntax trees from incorrect RBS source code.