Cut the fruit into cubes (if you use pineapple), or thin slices (if you use papaya or melon).
Mix all the ingredients. Cook in a pot over low heat until water has evaporated to about two cups and has turned into a light syrup (around 20 mins). Stir regularly to prevent sticking.
Cool to room temperature, then chill before serving.
Notes
For this recipe you can use acerola cherry, starfruit, pineapple, melon, and papaya.