[feature] add tools/lat for c