4
$\begingroup$

Is incremental compilation ever done based on the AST? That is, the compiler would just regenerate code for the parts of the AST that have changed.

I know that many compilers do incremental compilation on a file-basis, but I don't know about on an AST-basis.

$\endgroup$
1
$\begingroup$

The Eclipse Builder infrastructure actually does this, I believe. You might find this link useful.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.