I find some references say that
all the features of programming language fall within what can be captured by context-sensitive grammars. In fact, no programming language known to humankind anything that cann't.
and
Actually, most of programming language is context-free language.
Q1: Are the claims correct? I did not find some bibiographies about a precise description or even a proof.
Let $\Gamma$ be the alphabet of the instructions of a programming language. Given a specific procedure $P$, all of its control flows belong to $L_{P}$. $L_{P}$ describes how does it control its data.
At the same time, for every $x \in \Sigma^*$, $P$ computes it and gives an output $P(x)$. Assume that $P$ is used to slove a decision problem, i.e., $P(x) \in \{ 0,1 \}$. There is a language $L'_{P} = \{ x \in \Sigma* \mid P(x) = 1 \}$. If we regard $P$ as a machine, $L'_P$ describes the computational power of $P$.
It is obvious that $L_P$ and $L'_{P}$ are totally different.
Q2: What is the relation between $L_P$ and $L'_{P}$? Is there a conclusion such that $$L_P \in CFL \Leftrightarrow L'_P \in CFL$$ or $$L_P \in CSL \Leftrightarrow L'_P \in CSL$$