|
|
|
|
|
by viralpraxis
732 days ago
|
|
Can someone elaborate if the term “AST” is used correctly in the article? I’ve been playing with mutation-injection framework for my master’s thesis for some time. I had to use LibCST to preserve syntax information which is usually lost during AST serialization/deserialization (like whitespaces, indentation and so on). I thought that the difference between abstract and concrete trees is that it’s guaranteed CST won’t lose any information, so it can be used to specific tasks where ASTs are useless. So, did they actually use CST-based approach? |
|
I'm sure slack has a particular code formatter they use.
Most of the time when working with an AST you don't think about whitespace except when writing out the result