The dialects of Macedonian comprise the Slavic dialects spoken in the Republic of North Macedonia as well as some varieties spoken in the wider geographic region of Macedonia. They are part of the dialect continuum of South Slavic languages that joins Macedonian with Bulgarian to the east and Torlakian to the north into the group of the Eastern South Slavic languages. The precise delimitation between these languages is fleeting and controversial. Macedonian authors tend to treat all dialects spoken in the geographical region of Macedonia as Macedonian, including those spoken in the westernmost part of Bulgaria (so-called Pirin Macedonia), whereas Bulgarian authors treat all Macedonian dialects as part of the Bulgarian language. Prior to the codification of standard Macedonian in 1945, the dialects of Macedonia were for the most part classified as Bulgarian. In Greece, the identification of the dialects spoken by the local Slavophone minority with either Bulgarian or Macedonian is often avoided, and these dialects are instead described simply as "Slavic", Dopia ('Local'), Stariski (old) or Našinski (ours). Most Western linguists classify the dialects in the Pirin (Blagoevgrad) region of Bulgaria and in the far east of Greek Macedonia as Bulgarian and the dialects in the rest of Greece and in Republic of North Macedonia as Macedonian. According to Chambers and Trudgill, the question whether Bulgarian and Macedonian are distinct languages or dialects of a single language as well as where the exact boundary between the two languages is cannot be resolved on a purely linguistic basis, but should rather take into account sociolinguistic criteria, i.e., ethnic and linguistic identity. As for the Slavic dialects of Greece, Trudgill classifies the dialects in the east Greek Macedonia as part of the Bulgarian language area and the rest as Macedonian dialects. According to Riki van Boeschoten, the dialects in eastern Greek Macedonia (around Serres and Drama) are closest to Bulgarian, those in western Greek Macedonia (around Florina and Kastoria) are closest to Macedonian, while those in the centre (Edessa and Salonica) are intermediate between the two.