towards ast based autocomplete