In the context of government and law, what is the primary purpose of a constitution?
A. To establish the principles and framework of a government.
B. To regulate social norms and behavior.
C. To promote economic development.
D. To provide guidelines for international diplomacy.