gumtree

GumTree is a complete framework to deal with source code as trees and compute differences between them.