(no title)
benhoff | 4 years ago
If you've ever taught a course with intro level python, it quickly becomes apparent how repeatable the mistakes are, or where you didn't spend enough time. As a student, this is frustrating because the correction comes too late, it's why having someone knowledgeable over your shoulder can speed up your learning.
The challenge that I believe ASTs present is that they only parse compliant code. So if someone makes a syntax error, it becomes a whole new ball game. I'd glanced at tree sitter to see if this could fix some of these issues, but I think it's a more fundamental problem than that.
tusharsadhwani|4 years ago
Existing code editors like VSCode do exactly this for better syntax highlighting of incomplete code.
hsbauauvhabzb|4 years ago
TuringTest|4 years ago