An incremental, modular compiler based on AST changes for a Scala-like simple language